POSIX 1003.1d Test Suite
The Open Group Test Suite for the POSIX
Additional Realtime Extensions is known as VSRTE. It is a standalone
test suite covering POSIX 1003.1d - 1999 and any associated Technical
Corrigenda.
Additionally it provides test coverage for the Advanced Realtime Option Group in UNIX 03.
The test suite covers the following
functional areas in the IEEE POSIX 1003.1d standard.
Spawn a Process
New system services to spawn the
execution of a new process in an efficient manner.
Timeouts for some blocking services
Additional services that provide a
timeout capability to system services already defined in POSIX.1b and
POSIX.1c, thus allowing the application to include better error
detection and recovery capabilities.
Sporadic Server Scheduling
The addition of a new scheduling policy
appropriate for scheduling aperiodic processes or threads in hard
real-time applications.
Execution Time Clocks and Timers
The addition of new clocks that measure
the execution times of processes or threads, and the possibility to
create timers based upon these clocks, for runtime detection (and
treatment) of execution time overruns.
Advisory Information for File Management
Addition of
services that allow the application to specify advisory information
that can be used by the system to achieve better or even
deterministic response times in file management or input & output
operations.
The following new POSIX functions are tested:
posix_spawn()
posix_spawn_file_actions_addclose()
posix_spawn_file_actions_adddup2()
posix_spawn_file_actions_addopen()
posix_spawn_file_actions_destroy()
posix_spawn_file_actions_init()
posix_spawnattr_destroy()
posix_spawnattr_getflags()
posix_spawnattr_getpgroup()
posix_spawnattr_getschedparam()
posix_spawnattr_getschedpolicy()
posix_spawnattr_getsigdefault()
posix_spawnattr_getsigmask()
posix_spawnattr_init ()
posix_spawnattr_setflags()
posix_spawnattr_setpgroup()
posix_spawnattr_setschedparam()
posix_spawnattr_setschedpolicy()
posix_spawnattr_setsigdefault()
posix_spawnattr_setsigmask()
posix_spawnp()
pthread_mutex_timedlock()
sem_timedwait()
mq_timedreceive()
mq_timedsend()
clock_getcpuclockid()
pthread_getcpuclockid()
posix_fadvise()
posix_fallocate()
posix_madvise()
posix_memalign()
Tests are also performed on existing
functions POSIX .1 functions whose behaviour is modified by the
additional realtime extensions.
The following header files are tested:
<fcntl.h>
<limits.h>
<sys/mman.h>
<mqueue.h>
<pthread.h>
<sched.h>
<semaphore.h>
<spawn.h>
<stdlib.h>
<time.h>
<unistd.h>
|