POSIX 1003.1j Test Suite
The Open Group Test Suite for the POSIX
Advanced Realtime Extensions is known as VSART. It is a standalone
test suite covering POSIX 1003.1j - 2000 and any associated Technical
Corrigenda. Additionally it provides test coverage for UNIX 03
threads (reader/writer locks) and
Advanced Realtime Option Group in UNIX 03.
The test suite covers the following
functional areas in the IEEE POSIX 1003.1j standard.
Memory management
A facility to allow programs to allocate or access different kinds of physical memory that are present in the
system, and allow separate application programs to share portions of this memory.
Synchronization
Synchronization primitives that allow multiprocessor applications to achieve the
performance benefits of their hardware architecture.
Clocks and Timers
The addition of the Monotonic Clock, the specification of the effects of setting the time of a clock on other timing
services, and the addition of functions to support relative or absolute suspension based upon a clock specified by the application.
The following new POSIX functions are
tested:
posix_typed_mem_open()
posix_mem_offset ()
posix_typed_mem_get_info()
pthread_spin_init()
pthread_spin_destroy()
pthread_spin_lock()
pthread_spin_trylock()
pthread_spin_unlock()
pthread_barrierattr_init()
pthread_barrierattr_destroy()
pthread_barrierattr_getpshared()
pthread_barrierattr_setpshared()
pthread_barrier_init()
pthread_barrier_destroy()
pthread_barrier_wait()
pthread_rwlockattr_init()
pthread_rwlockattr_destroy()
pthread_rwlockattr_getpshared()
pthread_rwlockattr_setpshared()
pthread_rwlock_init()
pthread_rwlock_destroy()
pthread_rwlock_rdlock()
pthread_rwlock_tryrdlock()
pthread_rwlock_timedrdlock()
pthread_rwlock_wrlock()
pthread_rwlock_trywrlock()
pthread_rwlock_timedwrlock()
pthread_rwlock_unlock()
clock_nanosleep()
pthread_condattr_setclock()
pthread_condattr_getclock()
Tests are also performed on existing
functions POSIX .1 functions whose behaviour is modified by the
advanced realtime functionality.
The following header files are -
tested:
<sys/mman.h>
<pthread.h>
<stat.h>
<time.h>
<sys/types.h>
<unistd.h>
|