diff options
-rw-r--r-- | testsuites/psxtests/psxhdrs/Makefile.am | 158 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_destroy.c (renamed from testsuites/psxtests/psxhdrs/pthread02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getdetachstate.c (renamed from testsuites/psxtests/psxhdrs/pthread04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getguardsize.c (renamed from testsuites/psxtests/psxhdrs/pthread40.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getinheritsched.c (renamed from testsuites/psxtests/psxhdrs/pthread16.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getschedparam.c (renamed from testsuites/psxtests/psxhdrs/pthread20.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getschedpolicy.c (renamed from testsuites/psxtests/psxhdrs/pthread18.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c (renamed from testsuites/psxtests/psxhdrs/pthread14.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstack.c (renamed from testsuites/psxtests/psxhdrs/pthread38.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c (renamed from testsuites/psxtests/psxhdrs/pthread25.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstacksize.c (renamed from testsuites/psxtests/psxhdrs/pthread06.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_init.c (renamed from testsuites/psxtests/psxhdrs/pthread01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setdetachstate.c (renamed from testsuites/psxtests/psxhdrs/pthread03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setguardsize.c (renamed from testsuites/psxtests/psxhdrs/pthread39.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setinheritsched.c (renamed from testsuites/psxtests/psxhdrs/pthread15.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c (renamed from testsuites/psxtests/psxhdrs/pthread19.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedpolicy.c (renamed from testsuites/psxtests/psxhdrs/pthread17.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setscope.c (renamed from testsuites/psxtests/psxhdrs/pthread13.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstack.c (renamed from testsuites/psxtests/psxhdrs/pthread37.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstackaddr.c (renamed from testsuites/psxtests/psxhdrs/pthread24.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstacksize.c (renamed from testsuites/psxtests/psxhdrs/pthread05.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_cancel.c (renamed from testsuites/psxtests/psxhdrs/pthread28.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_cleanup.c (renamed from testsuites/psxtests/psxhdrs/pthread32.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_cond_broadcast.c (renamed from testsuites/psxtests/psxhdrs/cond10.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_cond_destroy.c (renamed from testsuites/psxtests/psxhdrs/cond04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c (renamed from testsuites/psxtests/psxhdrs/cond03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_cond_signal.c (renamed from testsuites/psxtests/psxhdrs/cond05.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_cond_timedwait.c (renamed from testsuites/psxtests/psxhdrs/cond07.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_cond_wait.c (renamed from testsuites/psxtests/psxhdrs/cond06.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_condattr_destroy.c (renamed from testsuites/psxtests/psxhdrs/cond02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_condattr_getpshared.c (renamed from testsuites/psxtests/psxhdrs/cond08.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_condattr_init.c (renamed from testsuites/psxtests/psxhdrs/cond01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_condattr_setpshared.c (renamed from testsuites/psxtests/psxhdrs/cond09.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_create.c (renamed from testsuites/psxtests/psxhdrs/pthread07.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_detach.c (renamed from testsuites/psxtests/psxhdrs/pthread21.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_equal.c (renamed from testsuites/psxtests/psxhdrs/pthread10.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_exit.c (renamed from testsuites/psxtests/psxhdrs/pthread08.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_getcpuclockid.c (renamed from testsuites/psxtests/psxhdrs/pthread34.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_getschedparam.c (renamed from testsuites/psxtests/psxhdrs/pthread23.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_getspecific.c (renamed from testsuites/psxtests/psxhdrs/key03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_join.c (renamed from testsuites/psxtests/psxhdrs/pthread26.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_key_create.c (renamed from testsuites/psxtests/psxhdrs/key01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_key_delete.c (renamed from testsuites/psxtests/psxhdrs/key04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutex_destroy.c (renamed from testsuites/psxtests/psxhdrs/mutex04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutex_getprioceiling.c (renamed from testsuites/psxtests/psxhdrs/mutex15.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutex_init.c (renamed from testsuites/psxtests/psxhdrs/mutex03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutex_lock.c (renamed from testsuites/psxtests/psxhdrs/mutex05.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutex_setprioceiling.c (renamed from testsuites/psxtests/psxhdrs/mutex16.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c (renamed from testsuites/psxtests/psxhdrs/mutex13.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutex_trylock.c (renamed from testsuites/psxtests/psxhdrs/mutex12.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutex_unlock.c (renamed from testsuites/psxtests/psxhdrs/mutex06.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_destroy.c (renamed from testsuites/psxtests/psxhdrs/mutex02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getprioceiling.c (renamed from testsuites/psxtests/psxhdrs/mutex08.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getprotocol.c (renamed from testsuites/psxtests/psxhdrs/mutex14.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c (renamed from testsuites/psxtests/psxhdrs/mutex10.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_init.c (renamed from testsuites/psxtests/psxhdrs/mutex01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setprioceiling.c (renamed from testsuites/psxtests/psxhdrs/mutex09.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setprotocol.c (renamed from testsuites/psxtests/psxhdrs/mutex07.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setpshared.c (renamed from testsuites/psxtests/psxhdrs/mutex11.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_once.c (renamed from testsuites/psxtests/psxhdrs/pthread27.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_self.c (renamed from testsuites/psxtests/psxhdrs/pthread09.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_setcancelstate.c (renamed from testsuites/psxtests/psxhdrs/pthread29.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_setcanceltype.c (renamed from testsuites/psxtests/psxhdrs/pthread30.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_setschedparam.c (renamed from testsuites/psxtests/psxhdrs/pthread22.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_setspecific.c (renamed from testsuites/psxtests/psxhdrs/key02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_testcancel.c (renamed from testsuites/psxtests/psxhdrs/pthread31.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread11.c | 57 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread12.c | 37 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched/sched_get_priority_max.c (renamed from testsuites/psxtests/psxhdrs/sched06.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched/sched_get_priority_min.c (renamed from testsuites/psxtests/psxhdrs/sched07.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched/sched_getparam.c (renamed from testsuites/psxtests/psxhdrs/sched02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched/sched_getscheduler.c (renamed from testsuites/psxtests/psxhdrs/sched04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched/sched_rr_get_interval.c (renamed from testsuites/psxtests/psxhdrs/sched08.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched/sched_setparam.c (renamed from testsuites/psxtests/psxhdrs/sched01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched/sched_setscheduler.c (renamed from testsuites/psxtests/psxhdrs/sched03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched/sched_yield.c (renamed from testsuites/psxtests/psxhdrs/sched05.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/pthread_sigmask.c (renamed from testsuites/psxtests/psxhdrs/signal16.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/raise.c (renamed from testsuites/psxtests/psxhdrs/signal11.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/signal.c (renamed from testsuites/psxtests/psxhdrs/signal12.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/sigpending.c (renamed from testsuites/psxtests/psxhdrs/signal14.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/sigprocmask.c (renamed from testsuites/psxtests/psxhdrs/signal13.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/sigsuspend.c (renamed from testsuites/psxtests/psxhdrs/signal15.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/sigtimedwait.c (renamed from testsuites/psxtests/psxhdrs/signal18.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/sigwait.c (renamed from testsuites/psxtests/psxhdrs/signal19.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal/sigwaitinfo.c (renamed from testsuites/psxtests/psxhdrs/signal17.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal01.c | 32 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal02.c | 32 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal03.c | 29 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal04.c | 32 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal05.c | 29 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal06.c | 44 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal07.c | 37 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal08.c | 39 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal09.c | 34 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal10.c | 30 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/asctime.c (renamed from testsuites/psxtests/psxhdrs/time06.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/asctime_r.c (renamed from testsuites/psxtests/psxhdrs/time10.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/clock.c (renamed from testsuites/psxtests/psxhdrs/time01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/clock_getcpuclockid.c (renamed from testsuites/psxtests/psxhdrs/clock04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/clock_getenable_attr.c (renamed from testsuites/psxtests/psxhdrs/clock06.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/clock_getres.c (renamed from testsuites/psxtests/psxhdrs/clock03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/clock_gettime.c (renamed from testsuites/psxtests/psxhdrs/clock01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/clock_setenable_attr.c (renamed from testsuites/psxtests/psxhdrs/clock05.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/clock_settime.c (renamed from testsuites/psxtests/psxhdrs/clock02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/ctime.c (renamed from testsuites/psxtests/psxhdrs/time07.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/ctime_r.c (renamed from testsuites/psxtests/psxhdrs/time11.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/difftime.c (renamed from testsuites/psxtests/psxhdrs/time02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/gmtime.c (renamed from testsuites/psxtests/psxhdrs/time08.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/gmtime_r.c (renamed from testsuites/psxtests/psxhdrs/time12.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/localtime.c (renamed from testsuites/psxtests/psxhdrs/time09.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/localtime_r.c (renamed from testsuites/psxtests/psxhdrs/time13.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/mktime.c (renamed from testsuites/psxtests/psxhdrs/time03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/nanosleep.c (renamed from testsuites/psxtests/psxhdrs/timer06.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/strftime.c (renamed from testsuites/psxtests/psxhdrs/time05.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/time.c (renamed from testsuites/psxtests/psxhdrs/time04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/timer_create.c (renamed from testsuites/psxtests/psxhdrs/timer01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/timer_delete.c (renamed from testsuites/psxtests/psxhdrs/timer02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/timer_getoverrun.c (renamed from testsuites/psxtests/psxhdrs/timer05.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/timer_gettime.c (renamed from testsuites/psxtests/psxhdrs/timer04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/time/timer_settime.c (renamed from testsuites/psxtests/psxhdrs/timer03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/alarm.c (renamed from testsuites/psxtests/psxhdrs/signal20.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/fdatasync.c (renamed from testsuites/psxtests/psxhdrs/sync02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/fsync.c (renamed from testsuites/psxtests/psxhdrs/sync01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getegid.c (renamed from testsuites/psxtests/psxhdrs/proc06.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/geteuid.c (renamed from testsuites/psxtests/psxhdrs/proc04.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getgid.c (renamed from testsuites/psxtests/psxhdrs/proc05.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getgroups.c (renamed from testsuites/psxtests/psxhdrs/proc09.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getlogin.c (renamed from testsuites/psxtests/psxhdrs/proc10.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getlogin_r.c (renamed from testsuites/psxtests/psxhdrs/proc11.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getpgrp.c (renamed from testsuites/psxtests/psxhdrs/proc12.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getpid.c (renamed from testsuites/psxtests/psxhdrs/proc01.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getppid.c (renamed from testsuites/psxtests/psxhdrs/proc02.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/getuid.c (renamed from testsuites/psxtests/psxhdrs/proc03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/pause.c (renamed from testsuites/psxtests/psxhdrs/signal21.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/setgid.c (renamed from testsuites/psxtests/psxhdrs/proc08.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/setpgid.c (renamed from testsuites/psxtests/psxhdrs/proc14.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/setsid.c (renamed from testsuites/psxtests/psxhdrs/proc13.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/setuid.c (renamed from testsuites/psxtests/psxhdrs/proc07.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/sleep.c (renamed from testsuites/psxtests/psxhdrs/signal22.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/sync.c (renamed from testsuites/psxtests/psxhdrs/sync03.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/ualarm.c (renamed from testsuites/psxtests/psxhdrs/signal23.c) | 0 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/unistd/usleep.c (renamed from testsuites/psxtests/psxhdrs/timer07.c) | 0 |
142 files changed, 136 insertions, 454 deletions
diff --git a/testsuites/psxtests/psxhdrs/Makefile.am b/testsuites/psxtests/psxhdrs/Makefile.am index 6b0d5d658d..0888e24aaf 100644 --- a/testsuites/psxtests/psxhdrs/Makefile.am +++ b/testsuites/psxtests/psxhdrs/Makefile.am @@ -1,26 +1,140 @@ noinst_LIBRARIES = lib.a -lib_a_SOURCES = clock01.c clock02.c clock03.c clock04.c clock05.c clock06.c \ - cond01.c cond02.c cond03.c cond04.c cond05.c cond06.c cond07.c cond08.c \ - cond09.c cond10.c key01.c key02.c key03.c key04.c mutex01.c mutex02.c \ - mutex03.c mutex04.c mutex05.c mutex06.c mutex07.c mutex08.c mutex09.c \ - mutex10.c mutex11.c mutex12.c mutex13.c mutex14.c mutex15.c mutex16.c \ - pthread01.c pthread02.c pthread03.c pthread04.c pthread05.c pthread06.c \ - pthread07.c pthread08.c pthread09.c pthread10.c pthread11.c pthread12.c \ - pthread13.c pthread14.c pthread15.c pthread16.c pthread17.c pthread18.c \ - pthread19.c pthread20.c pthread21.c pthread22.c pthread23.c pthread24.c \ - pthread25.c pthread26.c pthread27.c pthread28.c pthread29.c pthread30.c \ - pthread31.c pthread32.c pthread34.c \ - pthread37.c pthread38.c pthread39.c pthread40.c \ - proc01.c proc02.c proc03.c proc04.c proc05.c proc06.c proc07.c proc08.c \ - proc09.c proc10.c proc11.c proc12.c proc13.c proc14.c sched01.c \ - sched02.c sched03.c sched04.c sched05.c sched06.c sched07.c sched08.c \ - signal01.c signal02.c signal03.c signal04.c signal05.c signal06.c \ - signal07.c signal08.c signal09.c signal10.c signal11.c signal12.c \ - signal13.c signal14.c signal15.c signal16.c signal17.c signal18.c \ - signal19.c signal20.c signal21.c signal22.c signal23.c sync01.c sync02.c \ - sync03.c time01.c time02.c time03.c time04.c time05.c time06.c time07.c \ - time08.c time09.c time10.c time11.c time12.c time13.c timer01.c \ - timer02.c timer03.c timer04.c timer05.c timer06.c timer07.c +lib_a_SOURCES = + +# methods in <pthread.h> +lib_a_SOURCES += pthread/pthread_attr_destroy.c +lib_a_SOURCES += pthread/pthread_attr_getdetachstate.c +lib_a_SOURCES += pthread/pthread_attr_getguardsize.c +lib_a_SOURCES += pthread/pthread_attr_getinheritsched.c +lib_a_SOURCES += pthread/pthread_attr_getschedparam.c +lib_a_SOURCES += pthread/pthread_attr_getschedpolicy.c +lib_a_SOURCES += pthread/pthread_attr_getscope.c +lib_a_SOURCES += pthread/pthread_attr_getstackaddr.c +lib_a_SOURCES += pthread/pthread_attr_getstack.c +lib_a_SOURCES += pthread/pthread_attr_getstacksize.c +lib_a_SOURCES += pthread/pthread_attr_init.c +lib_a_SOURCES += pthread/pthread_attr_setdetachstate.c +lib_a_SOURCES += pthread/pthread_attr_setguardsize.c +lib_a_SOURCES += pthread/pthread_attr_setinheritsched.c +lib_a_SOURCES += pthread/pthread_attr_setschedparam.c +lib_a_SOURCES += pthread/pthread_attr_setschedpolicy.c +lib_a_SOURCES += pthread/pthread_attr_setscope.c +lib_a_SOURCES += pthread/pthread_attr_setstackaddr.c +lib_a_SOURCES += pthread/pthread_attr_setstack.c +lib_a_SOURCES += pthread/pthread_attr_setstacksize.c +lib_a_SOURCES += pthread/pthread_cancel.c +lib_a_SOURCES += pthread/pthread_cleanup.c +lib_a_SOURCES += pthread/pthread_condattr_destroy.c +lib_a_SOURCES += pthread/pthread_condattr_getpshared.c +lib_a_SOURCES += pthread/pthread_condattr_init.c +lib_a_SOURCES += pthread/pthread_condattr_setpshared.c +lib_a_SOURCES += pthread/pthread_cond_broadcast.c +lib_a_SOURCES += pthread/pthread_cond_destroy.c +lib_a_SOURCES += pthread/pthread_cond_init.c +lib_a_SOURCES += pthread/pthread_cond_signal.c +lib_a_SOURCES += pthread/pthread_cond_timedwait.c +lib_a_SOURCES += pthread/pthread_cond_wait.c +lib_a_SOURCES += pthread/pthread_create.c +lib_a_SOURCES += pthread/pthread_detach.c +lib_a_SOURCES += pthread/pthread_equal.c +lib_a_SOURCES += pthread/pthread_exit.c +lib_a_SOURCES += pthread/pthread_getcpuclockid.c +lib_a_SOURCES += pthread/pthread_getschedparam.c +lib_a_SOURCES += pthread/pthread_getspecific.c +lib_a_SOURCES += pthread/pthread_join.c +lib_a_SOURCES += pthread/pthread_key_create.c +lib_a_SOURCES += pthread/pthread_key_delete.c +lib_a_SOURCES += pthread/pthread_mutexattr_destroy.c +lib_a_SOURCES += pthread/pthread_mutexattr_getprioceiling.c +lib_a_SOURCES += pthread/pthread_mutexattr_getprotocol.c +lib_a_SOURCES += pthread/pthread_mutexattr_getpshared.c +lib_a_SOURCES += pthread/pthread_mutexattr_init.c +lib_a_SOURCES += pthread/pthread_mutexattr_setprioceiling.c +lib_a_SOURCES += pthread/pthread_mutexattr_setprotocol.c +lib_a_SOURCES += pthread/pthread_mutexattr_setpshared.c +lib_a_SOURCES += pthread/pthread_mutex_destroy.c +lib_a_SOURCES += pthread/pthread_mutex_getprioceiling.c +lib_a_SOURCES += pthread/pthread_mutex_init.c +lib_a_SOURCES += pthread/pthread_mutex_lock.c +lib_a_SOURCES += pthread/pthread_mutex_setprioceiling.c +lib_a_SOURCES += pthread/pthread_mutex_timedlock.c +lib_a_SOURCES += pthread/pthread_mutex_trylock.c +lib_a_SOURCES += pthread/pthread_mutex_unlock.c +lib_a_SOURCES += pthread/pthread_once.c +lib_a_SOURCES += pthread/pthread_self.c +lib_a_SOURCES += pthread/pthread_setcancelstate.c +lib_a_SOURCES += pthread/pthread_setcanceltype.c +lib_a_SOURCES += pthread/pthread_setschedparam.c +lib_a_SOURCES += pthread/pthread_setspecific.c +lib_a_SOURCES += pthread/pthread_testcancel.c +# methods in <sched.h> +lib_a_SOURCES += sched/sched_getparam.c +lib_a_SOURCES += sched/sched_get_priority_max.c +lib_a_SOURCES += sched/sched_get_priority_min.c +lib_a_SOURCES += sched/sched_getscheduler.c +lib_a_SOURCES += sched/sched_rr_get_interval.c +lib_a_SOURCES += sched/sched_setparam.c +lib_a_SOURCES += sched/sched_setscheduler.c +lib_a_SOURCES += sched/sched_yield.c +# methods in <signal.h> +lib_a_SOURCES += signal/pthread_sigmask.c +lib_a_SOURCES += signal/raise.c +lib_a_SOURCES += signal/signal.c +lib_a_SOURCES += signal/sigpending.c +lib_a_SOURCES += signal/sigprocmask.c +lib_a_SOURCES += signal/sigsuspend.c +lib_a_SOURCES += signal/sigtimedwait.c +lib_a_SOURCES += signal/sigwait.c +lib_a_SOURCES += signal/sigwaitinfo.c +# methods in <time.h> +lib_a_SOURCES += time/asctime.c +lib_a_SOURCES += time/asctime_r.c +lib_a_SOURCES += time/clock.c +lib_a_SOURCES += time/clock_getcpuclockid.c +lib_a_SOURCES += time/clock_getenable_attr.c +lib_a_SOURCES += time/clock_getres.c +lib_a_SOURCES += time/clock_gettime.c +lib_a_SOURCES += time/clock_setenable_attr.c +lib_a_SOURCES += time/clock_settime.c +lib_a_SOURCES += time/ctime.c +lib_a_SOURCES += time/ctime_r.c +lib_a_SOURCES += time/difftime.c +lib_a_SOURCES += time/gmtime.c +lib_a_SOURCES += time/gmtime_r.c +lib_a_SOURCES += time/localtime.c +lib_a_SOURCES += time/localtime_r.c +lib_a_SOURCES += time/mktime.c +lib_a_SOURCES += time/nanosleep.c +lib_a_SOURCES += time/strftime.c +lib_a_SOURCES += time/time.c +lib_a_SOURCES += time/timer_create.c +lib_a_SOURCES += time/timer_delete.c +lib_a_SOURCES += time/timer_getoverrun.c +lib_a_SOURCES += time/timer_gettime.c +lib_a_SOURCES += time/timer_settime.c +# methods in <unistd.h> +lib_a_SOURCES += unistd/alarm.c +lib_a_SOURCES += unistd/fdatasync.c +lib_a_SOURCES += unistd/fsync.c +lib_a_SOURCES += unistd/getegid.c +lib_a_SOURCES += unistd/geteuid.c +lib_a_SOURCES += unistd/getgid.c +lib_a_SOURCES += unistd/getgroups.c +lib_a_SOURCES += unistd/getlogin.c +lib_a_SOURCES += unistd/getlogin_r.c +lib_a_SOURCES += unistd/getpgrp.c +lib_a_SOURCES += unistd/getpid.c +lib_a_SOURCES += unistd/getppid.c +lib_a_SOURCES += unistd/getuid.c +lib_a_SOURCES += unistd/pause.c +lib_a_SOURCES += unistd/setgid.c +lib_a_SOURCES += unistd/setpgid.c +lib_a_SOURCES += unistd/setsid.c +lib_a_SOURCES += unistd/setuid.c +lib_a_SOURCES += unistd/sleep.c +lib_a_SOURCES += unistd/sync.c +lib_a_SOURCES += unistd/ualarm.c +lib_a_SOURCES += unistd/usleep.c if HAS_NETWORKING # methods in <sys/socket.h> diff --git a/testsuites/psxtests/psxhdrs/pthread02.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_destroy.c index 05a0fedb08..05a0fedb08 100644 --- a/testsuites/psxtests/psxhdrs/pthread02.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_destroy.c diff --git a/testsuites/psxtests/psxhdrs/pthread04.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getdetachstate.c index 55164ebe73..55164ebe73 100644 --- a/testsuites/psxtests/psxhdrs/pthread04.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getdetachstate.c diff --git a/testsuites/psxtests/psxhdrs/pthread40.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getguardsize.c index 3780747365..3780747365 100644 --- a/testsuites/psxtests/psxhdrs/pthread40.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getguardsize.c diff --git a/testsuites/psxtests/psxhdrs/pthread16.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getinheritsched.c index df73441d28..df73441d28 100644 --- a/testsuites/psxtests/psxhdrs/pthread16.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getinheritsched.c diff --git a/testsuites/psxtests/psxhdrs/pthread20.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getschedparam.c index b44f73073b..b44f73073b 100644 --- a/testsuites/psxtests/psxhdrs/pthread20.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getschedparam.c diff --git a/testsuites/psxtests/psxhdrs/pthread18.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getschedpolicy.c index e2a34b7aa6..e2a34b7aa6 100644 --- a/testsuites/psxtests/psxhdrs/pthread18.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getschedpolicy.c diff --git a/testsuites/psxtests/psxhdrs/pthread14.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c index f32137c849..f32137c849 100644 --- a/testsuites/psxtests/psxhdrs/pthread14.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c diff --git a/testsuites/psxtests/psxhdrs/pthread38.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstack.c index bbef6a8ce1..bbef6a8ce1 100644 --- a/testsuites/psxtests/psxhdrs/pthread38.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstack.c diff --git a/testsuites/psxtests/psxhdrs/pthread25.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c index 0e84c5844a..0e84c5844a 100644 --- a/testsuites/psxtests/psxhdrs/pthread25.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c diff --git a/testsuites/psxtests/psxhdrs/pthread06.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstacksize.c index bd9cdff8e3..bd9cdff8e3 100644 --- a/testsuites/psxtests/psxhdrs/pthread06.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstacksize.c diff --git a/testsuites/psxtests/psxhdrs/pthread01.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_init.c index d0fb6cb5ee..d0fb6cb5ee 100644 --- a/testsuites/psxtests/psxhdrs/pthread01.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_init.c diff --git a/testsuites/psxtests/psxhdrs/pthread03.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setdetachstate.c index c752d4e935..c752d4e935 100644 --- a/testsuites/psxtests/psxhdrs/pthread03.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setdetachstate.c diff --git a/testsuites/psxtests/psxhdrs/pthread39.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setguardsize.c index ea9338a715..ea9338a715 100644 --- a/testsuites/psxtests/psxhdrs/pthread39.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setguardsize.c diff --git a/testsuites/psxtests/psxhdrs/pthread15.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setinheritsched.c index b82c10be37..b82c10be37 100644 --- a/testsuites/psxtests/psxhdrs/pthread15.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setinheritsched.c diff --git a/testsuites/psxtests/psxhdrs/pthread19.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c index 0454e8b60c..0454e8b60c 100644 --- a/testsuites/psxtests/psxhdrs/pthread19.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c diff --git a/testsuites/psxtests/psxhdrs/pthread17.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedpolicy.c index 519010e6e4..519010e6e4 100644 --- a/testsuites/psxtests/psxhdrs/pthread17.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedpolicy.c diff --git a/testsuites/psxtests/psxhdrs/pthread13.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setscope.c index 9372758c2a..9372758c2a 100644 --- a/testsuites/psxtests/psxhdrs/pthread13.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setscope.c diff --git a/testsuites/psxtests/psxhdrs/pthread37.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstack.c index a4de9c8f78..a4de9c8f78 100644 --- a/testsuites/psxtests/psxhdrs/pthread37.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstack.c diff --git a/testsuites/psxtests/psxhdrs/pthread24.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstackaddr.c index 661826f86b..661826f86b 100644 --- a/testsuites/psxtests/psxhdrs/pthread24.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstackaddr.c diff --git a/testsuites/psxtests/psxhdrs/pthread05.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstacksize.c index 4a12266e6a..4a12266e6a 100644 --- a/testsuites/psxtests/psxhdrs/pthread05.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setstacksize.c diff --git a/testsuites/psxtests/psxhdrs/pthread28.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cancel.c index 287f394589..287f394589 100644 --- a/testsuites/psxtests/psxhdrs/pthread28.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cancel.c diff --git a/testsuites/psxtests/psxhdrs/pthread32.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cleanup.c index 647b469b5c..647b469b5c 100644 --- a/testsuites/psxtests/psxhdrs/pthread32.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cleanup.c diff --git a/testsuites/psxtests/psxhdrs/cond10.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_broadcast.c index 6ba0c92149..6ba0c92149 100644 --- a/testsuites/psxtests/psxhdrs/cond10.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_broadcast.c diff --git a/testsuites/psxtests/psxhdrs/cond04.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_destroy.c index 2beef01f04..2beef01f04 100644 --- a/testsuites/psxtests/psxhdrs/cond04.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_destroy.c diff --git a/testsuites/psxtests/psxhdrs/cond03.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c index 9a83d83bf8..9a83d83bf8 100644 --- a/testsuites/psxtests/psxhdrs/cond03.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c diff --git a/testsuites/psxtests/psxhdrs/cond05.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_signal.c index 57c83361dc..57c83361dc 100644 --- a/testsuites/psxtests/psxhdrs/cond05.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_signal.c diff --git a/testsuites/psxtests/psxhdrs/cond07.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_timedwait.c index c8f6183252..c8f6183252 100644 --- a/testsuites/psxtests/psxhdrs/cond07.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_timedwait.c diff --git a/testsuites/psxtests/psxhdrs/cond06.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_wait.c index d9ab134eba..d9ab134eba 100644 --- a/testsuites/psxtests/psxhdrs/cond06.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_wait.c diff --git a/testsuites/psxtests/psxhdrs/cond02.c b/testsuites/psxtests/psxhdrs/pthread/pthread_condattr_destroy.c index 5575f9b594..5575f9b594 100644 --- a/testsuites/psxtests/psxhdrs/cond02.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_condattr_destroy.c diff --git a/testsuites/psxtests/psxhdrs/cond08.c b/testsuites/psxtests/psxhdrs/pthread/pthread_condattr_getpshared.c index 74139d57de..74139d57de 100644 --- a/testsuites/psxtests/psxhdrs/cond08.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_condattr_getpshared.c diff --git a/testsuites/psxtests/psxhdrs/cond01.c b/testsuites/psxtests/psxhdrs/pthread/pthread_condattr_init.c index e4f71db621..e4f71db621 100644 --- a/testsuites/psxtests/psxhdrs/cond01.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_condattr_init.c diff --git a/testsuites/psxtests/psxhdrs/cond09.c b/testsuites/psxtests/psxhdrs/pthread/pthread_condattr_setpshared.c index db2b18d263..db2b18d263 100644 --- a/testsuites/psxtests/psxhdrs/cond09.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_condattr_setpshared.c diff --git a/testsuites/psxtests/psxhdrs/pthread07.c b/testsuites/psxtests/psxhdrs/pthread/pthread_create.c index 516d94bb34..516d94bb34 100644 --- a/testsuites/psxtests/psxhdrs/pthread07.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_create.c diff --git a/testsuites/psxtests/psxhdrs/pthread21.c b/testsuites/psxtests/psxhdrs/pthread/pthread_detach.c index 4b75eac362..4b75eac362 100644 --- a/testsuites/psxtests/psxhdrs/pthread21.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_detach.c diff --git a/testsuites/psxtests/psxhdrs/pthread10.c b/testsuites/psxtests/psxhdrs/pthread/pthread_equal.c index 4e9fca919e..4e9fca919e 100644 --- a/testsuites/psxtests/psxhdrs/pthread10.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_equal.c diff --git a/testsuites/psxtests/psxhdrs/pthread08.c b/testsuites/psxtests/psxhdrs/pthread/pthread_exit.c index 2a68a9f6ef..2a68a9f6ef 100644 --- a/testsuites/psxtests/psxhdrs/pthread08.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_exit.c diff --git a/testsuites/psxtests/psxhdrs/pthread34.c b/testsuites/psxtests/psxhdrs/pthread/pthread_getcpuclockid.c index bf1dd33e09..bf1dd33e09 100644 --- a/testsuites/psxtests/psxhdrs/pthread34.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_getcpuclockid.c diff --git a/testsuites/psxtests/psxhdrs/pthread23.c b/testsuites/psxtests/psxhdrs/pthread/pthread_getschedparam.c index 122a100e22..122a100e22 100644 --- a/testsuites/psxtests/psxhdrs/pthread23.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_getschedparam.c diff --git a/testsuites/psxtests/psxhdrs/key03.c b/testsuites/psxtests/psxhdrs/pthread/pthread_getspecific.c index 3be0373978..3be0373978 100644 --- a/testsuites/psxtests/psxhdrs/key03.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_getspecific.c diff --git a/testsuites/psxtests/psxhdrs/pthread26.c b/testsuites/psxtests/psxhdrs/pthread/pthread_join.c index 69040c46f8..69040c46f8 100644 --- a/testsuites/psxtests/psxhdrs/pthread26.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_join.c diff --git a/testsuites/psxtests/psxhdrs/key01.c b/testsuites/psxtests/psxhdrs/pthread/pthread_key_create.c index 70322328af..70322328af 100644 --- a/testsuites/psxtests/psxhdrs/key01.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_key_create.c diff --git a/testsuites/psxtests/psxhdrs/key04.c b/testsuites/psxtests/psxhdrs/pthread/pthread_key_delete.c index c6c1c34dd3..c6c1c34dd3 100644 --- a/testsuites/psxtests/psxhdrs/key04.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_key_delete.c diff --git a/testsuites/psxtests/psxhdrs/mutex04.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_destroy.c index c577ab1c09..c577ab1c09 100644 --- a/testsuites/psxtests/psxhdrs/mutex04.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_destroy.c diff --git a/testsuites/psxtests/psxhdrs/mutex15.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_getprioceiling.c index 51a78b552b..51a78b552b 100644 --- a/testsuites/psxtests/psxhdrs/mutex15.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_getprioceiling.c diff --git a/testsuites/psxtests/psxhdrs/mutex03.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_init.c index b59c3f6d37..b59c3f6d37 100644 --- a/testsuites/psxtests/psxhdrs/mutex03.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_init.c diff --git a/testsuites/psxtests/psxhdrs/mutex05.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_lock.c index 0a416f2d90..0a416f2d90 100644 --- a/testsuites/psxtests/psxhdrs/mutex05.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_lock.c diff --git a/testsuites/psxtests/psxhdrs/mutex16.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_setprioceiling.c index 754068acdd..754068acdd 100644 --- a/testsuites/psxtests/psxhdrs/mutex16.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_setprioceiling.c diff --git a/testsuites/psxtests/psxhdrs/mutex13.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c index 4fbe812157..4fbe812157 100644 --- a/testsuites/psxtests/psxhdrs/mutex13.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c diff --git a/testsuites/psxtests/psxhdrs/mutex12.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_trylock.c index b0f517c658..b0f517c658 100644 --- a/testsuites/psxtests/psxhdrs/mutex12.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_trylock.c diff --git a/testsuites/psxtests/psxhdrs/mutex06.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_unlock.c index fff3f84d00..fff3f84d00 100644 --- a/testsuites/psxtests/psxhdrs/mutex06.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_unlock.c diff --git a/testsuites/psxtests/psxhdrs/mutex02.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_destroy.c index 3b2e072563..3b2e072563 100644 --- a/testsuites/psxtests/psxhdrs/mutex02.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_destroy.c diff --git a/testsuites/psxtests/psxhdrs/mutex08.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getprioceiling.c index 20327de527..20327de527 100644 --- a/testsuites/psxtests/psxhdrs/mutex08.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getprioceiling.c diff --git a/testsuites/psxtests/psxhdrs/mutex14.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getprotocol.c index a72c966dbb..a72c966dbb 100644 --- a/testsuites/psxtests/psxhdrs/mutex14.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getprotocol.c diff --git a/testsuites/psxtests/psxhdrs/mutex10.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c index a85d37047a..a85d37047a 100644 --- a/testsuites/psxtests/psxhdrs/mutex10.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c diff --git a/testsuites/psxtests/psxhdrs/mutex01.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_init.c index 73790f2019..73790f2019 100644 --- a/testsuites/psxtests/psxhdrs/mutex01.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_init.c diff --git a/testsuites/psxtests/psxhdrs/mutex09.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setprioceiling.c index 31cf69f438..31cf69f438 100644 --- a/testsuites/psxtests/psxhdrs/mutex09.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setprioceiling.c diff --git a/testsuites/psxtests/psxhdrs/mutex07.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setprotocol.c index f8cc0cd5a4..f8cc0cd5a4 100644 --- a/testsuites/psxtests/psxhdrs/mutex07.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setprotocol.c diff --git a/testsuites/psxtests/psxhdrs/mutex11.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setpshared.c index 1a3b8e9e5e..1a3b8e9e5e 100644 --- a/testsuites/psxtests/psxhdrs/mutex11.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_setpshared.c diff --git a/testsuites/psxtests/psxhdrs/pthread27.c b/testsuites/psxtests/psxhdrs/pthread/pthread_once.c index a4355e461d..a4355e461d 100644 --- a/testsuites/psxtests/psxhdrs/pthread27.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_once.c diff --git a/testsuites/psxtests/psxhdrs/pthread09.c b/testsuites/psxtests/psxhdrs/pthread/pthread_self.c index 84c1d0cc03..84c1d0cc03 100644 --- a/testsuites/psxtests/psxhdrs/pthread09.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_self.c diff --git a/testsuites/psxtests/psxhdrs/pthread29.c b/testsuites/psxtests/psxhdrs/pthread/pthread_setcancelstate.c index 816908394a..816908394a 100644 --- a/testsuites/psxtests/psxhdrs/pthread29.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_setcancelstate.c diff --git a/testsuites/psxtests/psxhdrs/pthread30.c b/testsuites/psxtests/psxhdrs/pthread/pthread_setcanceltype.c index f1e0adeaa4..f1e0adeaa4 100644 --- a/testsuites/psxtests/psxhdrs/pthread30.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_setcanceltype.c diff --git a/testsuites/psxtests/psxhdrs/pthread22.c b/testsuites/psxtests/psxhdrs/pthread/pthread_setschedparam.c index 50cd98a815..50cd98a815 100644 --- a/testsuites/psxtests/psxhdrs/pthread22.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_setschedparam.c diff --git a/testsuites/psxtests/psxhdrs/key02.c b/testsuites/psxtests/psxhdrs/pthread/pthread_setspecific.c index c82992954c..c82992954c 100644 --- a/testsuites/psxtests/psxhdrs/key02.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_setspecific.c diff --git a/testsuites/psxtests/psxhdrs/pthread31.c b/testsuites/psxtests/psxhdrs/pthread/pthread_testcancel.c index ef07bf9ab1..ef07bf9ab1 100644 --- a/testsuites/psxtests/psxhdrs/pthread31.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_testcancel.c diff --git a/testsuites/psxtests/psxhdrs/pthread11.c b/testsuites/psxtests/psxhdrs/pthread11.c deleted file mode 100644 index 4f55efd3c6..0000000000 --- a/testsuites/psxtests/psxhdrs/pthread11.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <pthread.h> - -#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING -#error "RTEMS is supposed to have pthread_setschedparam" -#endif - -int test( void ); - -int test( void ) -{ - pthread_t thread; - int policy; - struct sched_param param; - int result; - - thread = 0; - - policy = SCHED_OTHER; - policy = SCHED_FIFO; - policy = SCHED_RR; -#ifdef _POSIX_SPORADIC_SERVER - policy = SCHED_SPORADIC; -#endif - - /* - * really should use sched_get_priority_min() and sched_get_priority_max() - */ - - param.sched_priority = 0; -#ifdef _POSIX_SPORADIC_SERVER - param.sched_ss_low_priority = 0; - param.sched_ss_repl_period.tv_sec = 0; - param.sched_ss_repl_period.tv_nsec = 0; - param.sched_ss_init_budget.tv_sec = 0; - param.sched_ss_init_budget.tv_nsec = 0; -#endif - - result = pthread_setschedparam( thread, policy, ¶m ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/pthread12.c b/testsuites/psxtests/psxhdrs/pthread12.c deleted file mode 100644 index 47b69d458e..0000000000 --- a/testsuites/psxtests/psxhdrs/pthread12.c +++ /dev/null @@ -1,37 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <pthread.h> - -#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING -#error "RTEMS is supposed to have pthread_getschedparam" -#endif - -int test( void ); - -int test( void ) -{ - pthread_t thread; - int policy; - struct sched_param param; - int result; - - thread = 0; - - result = pthread_getschedparam( thread, &policy, ¶m ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/sched06.c b/testsuites/psxtests/psxhdrs/sched/sched_get_priority_max.c index c1546e372f..c1546e372f 100644 --- a/testsuites/psxtests/psxhdrs/sched06.c +++ b/testsuites/psxtests/psxhdrs/sched/sched_get_priority_max.c diff --git a/testsuites/psxtests/psxhdrs/sched07.c b/testsuites/psxtests/psxhdrs/sched/sched_get_priority_min.c index fbf4e09958..fbf4e09958 100644 --- a/testsuites/psxtests/psxhdrs/sched07.c +++ b/testsuites/psxtests/psxhdrs/sched/sched_get_priority_min.c diff --git a/testsuites/psxtests/psxhdrs/sched02.c b/testsuites/psxtests/psxhdrs/sched/sched_getparam.c index 6814410744..6814410744 100644 --- a/testsuites/psxtests/psxhdrs/sched02.c +++ b/testsuites/psxtests/psxhdrs/sched/sched_getparam.c diff --git a/testsuites/psxtests/psxhdrs/sched04.c b/testsuites/psxtests/psxhdrs/sched/sched_getscheduler.c index 37d6b47397..37d6b47397 100644 --- a/testsuites/psxtests/psxhdrs/sched04.c +++ b/testsuites/psxtests/psxhdrs/sched/sched_getscheduler.c diff --git a/testsuites/psxtests/psxhdrs/sched08.c b/testsuites/psxtests/psxhdrs/sched/sched_rr_get_interval.c index 5f2bd75f27..5f2bd75f27 100644 --- a/testsuites/psxtests/psxhdrs/sched08.c +++ b/testsuites/psxtests/psxhdrs/sched/sched_rr_get_interval.c diff --git a/testsuites/psxtests/psxhdrs/sched01.c b/testsuites/psxtests/psxhdrs/sched/sched_setparam.c index c703369098..c703369098 100644 --- a/testsuites/psxtests/psxhdrs/sched01.c +++ b/testsuites/psxtests/psxhdrs/sched/sched_setparam.c diff --git a/testsuites/psxtests/psxhdrs/sched03.c b/testsuites/psxtests/psxhdrs/sched/sched_setscheduler.c index 3e1ecacd5e..3e1ecacd5e 100644 --- a/testsuites/psxtests/psxhdrs/sched03.c +++ b/testsuites/psxtests/psxhdrs/sched/sched_setscheduler.c diff --git a/testsuites/psxtests/psxhdrs/sched05.c b/testsuites/psxtests/psxhdrs/sched/sched_yield.c index cb50fa1c69..cb50fa1c69 100644 --- a/testsuites/psxtests/psxhdrs/sched05.c +++ b/testsuites/psxtests/psxhdrs/sched/sched_yield.c diff --git a/testsuites/psxtests/psxhdrs/signal16.c b/testsuites/psxtests/psxhdrs/signal/pthread_sigmask.c index 7a25895b23..7a25895b23 100644 --- a/testsuites/psxtests/psxhdrs/signal16.c +++ b/testsuites/psxtests/psxhdrs/signal/pthread_sigmask.c diff --git a/testsuites/psxtests/psxhdrs/signal11.c b/testsuites/psxtests/psxhdrs/signal/raise.c index bae84d06a2..bae84d06a2 100644 --- a/testsuites/psxtests/psxhdrs/signal11.c +++ b/testsuites/psxtests/psxhdrs/signal/raise.c diff --git a/testsuites/psxtests/psxhdrs/signal12.c b/testsuites/psxtests/psxhdrs/signal/signal.c index 266f50fa39..266f50fa39 100644 --- a/testsuites/psxtests/psxhdrs/signal12.c +++ b/testsuites/psxtests/psxhdrs/signal/signal.c diff --git a/testsuites/psxtests/psxhdrs/signal14.c b/testsuites/psxtests/psxhdrs/signal/sigpending.c index 16d4cf7404..16d4cf7404 100644 --- a/testsuites/psxtests/psxhdrs/signal14.c +++ b/testsuites/psxtests/psxhdrs/signal/sigpending.c diff --git a/testsuites/psxtests/psxhdrs/signal13.c b/testsuites/psxtests/psxhdrs/signal/sigprocmask.c index 0c4a93cd30..0c4a93cd30 100644 --- a/testsuites/psxtests/psxhdrs/signal13.c +++ b/testsuites/psxtests/psxhdrs/signal/sigprocmask.c diff --git a/testsuites/psxtests/psxhdrs/signal15.c b/testsuites/psxtests/psxhdrs/signal/sigsuspend.c index 635d2ef013..635d2ef013 100644 --- a/testsuites/psxtests/psxhdrs/signal15.c +++ b/testsuites/psxtests/psxhdrs/signal/sigsuspend.c diff --git a/testsuites/psxtests/psxhdrs/signal18.c b/testsuites/psxtests/psxhdrs/signal/sigtimedwait.c index ca2eee72f9..ca2eee72f9 100644 --- a/testsuites/psxtests/psxhdrs/signal18.c +++ b/testsuites/psxtests/psxhdrs/signal/sigtimedwait.c diff --git a/testsuites/psxtests/psxhdrs/signal19.c b/testsuites/psxtests/psxhdrs/signal/sigwait.c index 16050e88bd..16050e88bd 100644 --- a/testsuites/psxtests/psxhdrs/signal19.c +++ b/testsuites/psxtests/psxhdrs/signal/sigwait.c diff --git a/testsuites/psxtests/psxhdrs/signal17.c b/testsuites/psxtests/psxhdrs/signal/sigwaitinfo.c index d6e64d7b20..d6e64d7b20 100644 --- a/testsuites/psxtests/psxhdrs/signal17.c +++ b/testsuites/psxtests/psxhdrs/signal/sigwaitinfo.c diff --git a/testsuites/psxtests/psxhdrs/signal01.c b/testsuites/psxtests/psxhdrs/signal01.c deleted file mode 100644 index 245e025574..0000000000 --- a/testsuites/psxtests/psxhdrs/signal01.c +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -int test( void ); - -int test( void ) -{ - sigset_t signal_set; - int signal_number; - int result; - - signal_number = SIGALRM; - - result = sigaddset( &signal_set, signal_number ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal02.c b/testsuites/psxtests/psxhdrs/signal02.c deleted file mode 100644 index c62f95c682..0000000000 --- a/testsuites/psxtests/psxhdrs/signal02.c +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -int test( void ); - -int test( void ) -{ - sigset_t signal_set; - int signal_number; - int result; - - signal_number = SIGALRM; - - result = sigdelset( &signal_set, signal_number ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal03.c b/testsuites/psxtests/psxhdrs/signal03.c deleted file mode 100644 index e2f552e268..0000000000 --- a/testsuites/psxtests/psxhdrs/signal03.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -int test( void ); - -int test( void ) -{ - sigset_t signal_set; - int result; - - result = sigfillset( &signal_set ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal04.c b/testsuites/psxtests/psxhdrs/signal04.c deleted file mode 100644 index e2ae23e852..0000000000 --- a/testsuites/psxtests/psxhdrs/signal04.c +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -int test( void ); - -int test( void ) -{ - sigset_t signal_set; - int signal_number; - int result; - - signal_number = SIGALRM; - - result = sigismember( &signal_set, signal_number ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal05.c b/testsuites/psxtests/psxhdrs/signal05.c deleted file mode 100644 index 89325639c7..0000000000 --- a/testsuites/psxtests/psxhdrs/signal05.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -int test( void ); - -int test( void ) -{ - sigset_t signal_set; - int result; - - result = sigemptyset( &signal_set ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal06.c b/testsuites/psxtests/psxhdrs/signal06.c deleted file mode 100644 index a391a1430d..0000000000 --- a/testsuites/psxtests/psxhdrs/signal06.c +++ /dev/null @@ -1,44 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -int test( void ); - -int test( void ) -{ - int signal_number; - struct sigaction act; - struct sigaction oact; - int result; - - signal_number = SIGALRM; - - /* - * Really should not reference sa_handler and sa_signction simultaneously. - */ - - act.sa_handler = SIG_DFL; - act.sa_handler = SIG_IGN; - act.sa_mask = 0; - act.sa_flags = SA_NOCLDSTOP; - act.sa_flags = SA_SIGINFO; - act.sa_sigaction = NULL; - - result = sigaction( signal_number, &act, &oact ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal07.c b/testsuites/psxtests/psxhdrs/signal07.c deleted file mode 100644 index 52a53ca35c..0000000000 --- a/testsuites/psxtests/psxhdrs/signal07.c +++ /dev/null @@ -1,37 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -#ifndef _POSIX_THREADS -#error "rtems is supposed to have pthread_kill" -#endif - -int test( void ); - -int test( void ) -{ - pthread_t thread; - int signal_number; - int result; - - thread = 0; - signal_number = SIGALRM; - - result = pthread_kill( thread, signal_number ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal08.c b/testsuites/psxtests/psxhdrs/signal08.c deleted file mode 100644 index 730a23b4f9..0000000000 --- a/testsuites/psxtests/psxhdrs/signal08.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -#ifndef _POSIX_THREADS -#error "rtems is supposed to have pthread_sigmask" -#endif - -int test( void ); - -int test( void ) -{ - int how; - sigset_t set; - sigset_t oset; - int result; - - how = SIG_BLOCK; - how = SIG_UNBLOCK; - how = SIG_SETMASK; - - result = pthread_sigmask( how, &set, &oset ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal09.c b/testsuites/psxtests/psxhdrs/signal09.c deleted file mode 100644 index 263750c4cb..0000000000 --- a/testsuites/psxtests/psxhdrs/signal09.c +++ /dev/null @@ -1,34 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <sys/types.h> -#include <signal.h> - -int test( void ); - -int test( void ) -{ - pid_t pid; - int signal_number; - int result; - - pid = 0; - signal_number = SIGALRM; - - result = kill( pid, signal_number ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/signal10.c b/testsuites/psxtests/psxhdrs/signal10.c deleted file mode 100644 index ee5f036a5c..0000000000 --- a/testsuites/psxtests/psxhdrs/signal10.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This test file is used to verify that the header files associated with - * invoking this function are correct. - * - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <signal.h> - -int test( void ); - -int test( void ) -{ - sigset_t set; - int sig; - int result; - - result = sigwait( &set, &sig ); - - return result; -} diff --git a/testsuites/psxtests/psxhdrs/time06.c b/testsuites/psxtests/psxhdrs/time/asctime.c index 201bac0c7f..201bac0c7f 100644 --- a/testsuites/psxtests/psxhdrs/time06.c +++ b/testsuites/psxtests/psxhdrs/time/asctime.c diff --git a/testsuites/psxtests/psxhdrs/time10.c b/testsuites/psxtests/psxhdrs/time/asctime_r.c index 574795ca1d..574795ca1d 100644 --- a/testsuites/psxtests/psxhdrs/time10.c +++ b/testsuites/psxtests/psxhdrs/time/asctime_r.c diff --git a/testsuites/psxtests/psxhdrs/time01.c b/testsuites/psxtests/psxhdrs/time/clock.c index 3f7a50dc13..3f7a50dc13 100644 --- a/testsuites/psxtests/psxhdrs/time01.c +++ b/testsuites/psxtests/psxhdrs/time/clock.c diff --git a/testsuites/psxtests/psxhdrs/clock04.c b/testsuites/psxtests/psxhdrs/time/clock_getcpuclockid.c index 066912e9b8..066912e9b8 100644 --- a/testsuites/psxtests/psxhdrs/clock04.c +++ b/testsuites/psxtests/psxhdrs/time/clock_getcpuclockid.c diff --git a/testsuites/psxtests/psxhdrs/clock06.c b/testsuites/psxtests/psxhdrs/time/clock_getenable_attr.c index d3c73ba291..d3c73ba291 100644 --- a/testsuites/psxtests/psxhdrs/clock06.c +++ b/testsuites/psxtests/psxhdrs/time/clock_getenable_attr.c diff --git a/testsuites/psxtests/psxhdrs/clock03.c b/testsuites/psxtests/psxhdrs/time/clock_getres.c index d298aec9fd..d298aec9fd 100644 --- a/testsuites/psxtests/psxhdrs/clock03.c +++ b/testsuites/psxtests/psxhdrs/time/clock_getres.c diff --git a/testsuites/psxtests/psxhdrs/clock01.c b/testsuites/psxtests/psxhdrs/time/clock_gettime.c index a12f0247d5..a12f0247d5 100644 --- a/testsuites/psxtests/psxhdrs/clock01.c +++ b/testsuites/psxtests/psxhdrs/time/clock_gettime.c diff --git a/testsuites/psxtests/psxhdrs/clock05.c b/testsuites/psxtests/psxhdrs/time/clock_setenable_attr.c index 8d0bd70eb6..8d0bd70eb6 100644 --- a/testsuites/psxtests/psxhdrs/clock05.c +++ b/testsuites/psxtests/psxhdrs/time/clock_setenable_attr.c diff --git a/testsuites/psxtests/psxhdrs/clock02.c b/testsuites/psxtests/psxhdrs/time/clock_settime.c index 49a713d449..49a713d449 100644 --- a/testsuites/psxtests/psxhdrs/clock02.c +++ b/testsuites/psxtests/psxhdrs/time/clock_settime.c diff --git a/testsuites/psxtests/psxhdrs/time07.c b/testsuites/psxtests/psxhdrs/time/ctime.c index 7091a66d16..7091a66d16 100644 --- a/testsuites/psxtests/psxhdrs/time07.c +++ b/testsuites/psxtests/psxhdrs/time/ctime.c diff --git a/testsuites/psxtests/psxhdrs/time11.c b/testsuites/psxtests/psxhdrs/time/ctime_r.c index 2f9156fb4f..2f9156fb4f 100644 --- a/testsuites/psxtests/psxhdrs/time11.c +++ b/testsuites/psxtests/psxhdrs/time/ctime_r.c diff --git a/testsuites/psxtests/psxhdrs/time02.c b/testsuites/psxtests/psxhdrs/time/difftime.c index 7bc58c1e2a..7bc58c1e2a 100644 --- a/testsuites/psxtests/psxhdrs/time02.c +++ b/testsuites/psxtests/psxhdrs/time/difftime.c diff --git a/testsuites/psxtests/psxhdrs/time08.c b/testsuites/psxtests/psxhdrs/time/gmtime.c index 229ba12734..229ba12734 100644 --- a/testsuites/psxtests/psxhdrs/time08.c +++ b/testsuites/psxtests/psxhdrs/time/gmtime.c diff --git a/testsuites/psxtests/psxhdrs/time12.c b/testsuites/psxtests/psxhdrs/time/gmtime_r.c index 19a94a1317..19a94a1317 100644 --- a/testsuites/psxtests/psxhdrs/time12.c +++ b/testsuites/psxtests/psxhdrs/time/gmtime_r.c diff --git a/testsuites/psxtests/psxhdrs/time09.c b/testsuites/psxtests/psxhdrs/time/localtime.c index 0504829cd1..0504829cd1 100644 --- a/testsuites/psxtests/psxhdrs/time09.c +++ b/testsuites/psxtests/psxhdrs/time/localtime.c diff --git a/testsuites/psxtests/psxhdrs/time13.c b/testsuites/psxtests/psxhdrs/time/localtime_r.c index 340a2757f6..340a2757f6 100644 --- a/testsuites/psxtests/psxhdrs/time13.c +++ b/testsuites/psxtests/psxhdrs/time/localtime_r.c diff --git a/testsuites/psxtests/psxhdrs/time03.c b/testsuites/psxtests/psxhdrs/time/mktime.c index 56b835fc8a..56b835fc8a 100644 --- a/testsuites/psxtests/psxhdrs/time03.c +++ b/testsuites/psxtests/psxhdrs/time/mktime.c diff --git a/testsuites/psxtests/psxhdrs/timer06.c b/testsuites/psxtests/psxhdrs/time/nanosleep.c index bd8bb1ed34..bd8bb1ed34 100644 --- a/testsuites/psxtests/psxhdrs/timer06.c +++ b/testsuites/psxtests/psxhdrs/time/nanosleep.c diff --git a/testsuites/psxtests/psxhdrs/time05.c b/testsuites/psxtests/psxhdrs/time/strftime.c index 20b5922b41..20b5922b41 100644 --- a/testsuites/psxtests/psxhdrs/time05.c +++ b/testsuites/psxtests/psxhdrs/time/strftime.c diff --git a/testsuites/psxtests/psxhdrs/time04.c b/testsuites/psxtests/psxhdrs/time/time.c index c12e09ebf2..c12e09ebf2 100644 --- a/testsuites/psxtests/psxhdrs/time04.c +++ b/testsuites/psxtests/psxhdrs/time/time.c diff --git a/testsuites/psxtests/psxhdrs/timer01.c b/testsuites/psxtests/psxhdrs/time/timer_create.c index b60c819420..b60c819420 100644 --- a/testsuites/psxtests/psxhdrs/timer01.c +++ b/testsuites/psxtests/psxhdrs/time/timer_create.c diff --git a/testsuites/psxtests/psxhdrs/timer02.c b/testsuites/psxtests/psxhdrs/time/timer_delete.c index 0a95e29139..0a95e29139 100644 --- a/testsuites/psxtests/psxhdrs/timer02.c +++ b/testsuites/psxtests/psxhdrs/time/timer_delete.c diff --git a/testsuites/psxtests/psxhdrs/timer05.c b/testsuites/psxtests/psxhdrs/time/timer_getoverrun.c index 1bb9b1a887..1bb9b1a887 100644 --- a/testsuites/psxtests/psxhdrs/timer05.c +++ b/testsuites/psxtests/psxhdrs/time/timer_getoverrun.c diff --git a/testsuites/psxtests/psxhdrs/timer04.c b/testsuites/psxtests/psxhdrs/time/timer_gettime.c index ee265743c0..ee265743c0 100644 --- a/testsuites/psxtests/psxhdrs/timer04.c +++ b/testsuites/psxtests/psxhdrs/time/timer_gettime.c diff --git a/testsuites/psxtests/psxhdrs/timer03.c b/testsuites/psxtests/psxhdrs/time/timer_settime.c index d5981f7bca..d5981f7bca 100644 --- a/testsuites/psxtests/psxhdrs/timer03.c +++ b/testsuites/psxtests/psxhdrs/time/timer_settime.c diff --git a/testsuites/psxtests/psxhdrs/signal20.c b/testsuites/psxtests/psxhdrs/unistd/alarm.c index 7ca0e3cae7..7ca0e3cae7 100644 --- a/testsuites/psxtests/psxhdrs/signal20.c +++ b/testsuites/psxtests/psxhdrs/unistd/alarm.c diff --git a/testsuites/psxtests/psxhdrs/sync02.c b/testsuites/psxtests/psxhdrs/unistd/fdatasync.c index 4a0f9a503d..4a0f9a503d 100644 --- a/testsuites/psxtests/psxhdrs/sync02.c +++ b/testsuites/psxtests/psxhdrs/unistd/fdatasync.c diff --git a/testsuites/psxtests/psxhdrs/sync01.c b/testsuites/psxtests/psxhdrs/unistd/fsync.c index 188a91e5e0..188a91e5e0 100644 --- a/testsuites/psxtests/psxhdrs/sync01.c +++ b/testsuites/psxtests/psxhdrs/unistd/fsync.c diff --git a/testsuites/psxtests/psxhdrs/proc06.c b/testsuites/psxtests/psxhdrs/unistd/getegid.c index c4698badeb..c4698badeb 100644 --- a/testsuites/psxtests/psxhdrs/proc06.c +++ b/testsuites/psxtests/psxhdrs/unistd/getegid.c diff --git a/testsuites/psxtests/psxhdrs/proc04.c b/testsuites/psxtests/psxhdrs/unistd/geteuid.c index beffd5ae6c..beffd5ae6c 100644 --- a/testsuites/psxtests/psxhdrs/proc04.c +++ b/testsuites/psxtests/psxhdrs/unistd/geteuid.c diff --git a/testsuites/psxtests/psxhdrs/proc05.c b/testsuites/psxtests/psxhdrs/unistd/getgid.c index 515c7144a4..515c7144a4 100644 --- a/testsuites/psxtests/psxhdrs/proc05.c +++ b/testsuites/psxtests/psxhdrs/unistd/getgid.c diff --git a/testsuites/psxtests/psxhdrs/proc09.c b/testsuites/psxtests/psxhdrs/unistd/getgroups.c index 4402251914..4402251914 100644 --- a/testsuites/psxtests/psxhdrs/proc09.c +++ b/testsuites/psxtests/psxhdrs/unistd/getgroups.c diff --git a/testsuites/psxtests/psxhdrs/proc10.c b/testsuites/psxtests/psxhdrs/unistd/getlogin.c index e7ace225e7..e7ace225e7 100644 --- a/testsuites/psxtests/psxhdrs/proc10.c +++ b/testsuites/psxtests/psxhdrs/unistd/getlogin.c diff --git a/testsuites/psxtests/psxhdrs/proc11.c b/testsuites/psxtests/psxhdrs/unistd/getlogin_r.c index 78d6de1d05..78d6de1d05 100644 --- a/testsuites/psxtests/psxhdrs/proc11.c +++ b/testsuites/psxtests/psxhdrs/unistd/getlogin_r.c diff --git a/testsuites/psxtests/psxhdrs/proc12.c b/testsuites/psxtests/psxhdrs/unistd/getpgrp.c index fc11fe2171..fc11fe2171 100644 --- a/testsuites/psxtests/psxhdrs/proc12.c +++ b/testsuites/psxtests/psxhdrs/unistd/getpgrp.c diff --git a/testsuites/psxtests/psxhdrs/proc01.c b/testsuites/psxtests/psxhdrs/unistd/getpid.c index 67505c6fe7..67505c6fe7 100644 --- a/testsuites/psxtests/psxhdrs/proc01.c +++ b/testsuites/psxtests/psxhdrs/unistd/getpid.c diff --git a/testsuites/psxtests/psxhdrs/proc02.c b/testsuites/psxtests/psxhdrs/unistd/getppid.c index 1ac195208f..1ac195208f 100644 --- a/testsuites/psxtests/psxhdrs/proc02.c +++ b/testsuites/psxtests/psxhdrs/unistd/getppid.c diff --git a/testsuites/psxtests/psxhdrs/proc03.c b/testsuites/psxtests/psxhdrs/unistd/getuid.c index 7a08340e83..7a08340e83 100644 --- a/testsuites/psxtests/psxhdrs/proc03.c +++ b/testsuites/psxtests/psxhdrs/unistd/getuid.c diff --git a/testsuites/psxtests/psxhdrs/signal21.c b/testsuites/psxtests/psxhdrs/unistd/pause.c index 643be398cf..643be398cf 100644 --- a/testsuites/psxtests/psxhdrs/signal21.c +++ b/testsuites/psxtests/psxhdrs/unistd/pause.c diff --git a/testsuites/psxtests/psxhdrs/proc08.c b/testsuites/psxtests/psxhdrs/unistd/setgid.c index ac3be6af96..ac3be6af96 100644 --- a/testsuites/psxtests/psxhdrs/proc08.c +++ b/testsuites/psxtests/psxhdrs/unistd/setgid.c diff --git a/testsuites/psxtests/psxhdrs/proc14.c b/testsuites/psxtests/psxhdrs/unistd/setpgid.c index daed07f6b1..daed07f6b1 100644 --- a/testsuites/psxtests/psxhdrs/proc14.c +++ b/testsuites/psxtests/psxhdrs/unistd/setpgid.c diff --git a/testsuites/psxtests/psxhdrs/proc13.c b/testsuites/psxtests/psxhdrs/unistd/setsid.c index 7bb043453e..7bb043453e 100644 --- a/testsuites/psxtests/psxhdrs/proc13.c +++ b/testsuites/psxtests/psxhdrs/unistd/setsid.c diff --git a/testsuites/psxtests/psxhdrs/proc07.c b/testsuites/psxtests/psxhdrs/unistd/setuid.c index 28457edba8..28457edba8 100644 --- a/testsuites/psxtests/psxhdrs/proc07.c +++ b/testsuites/psxtests/psxhdrs/unistd/setuid.c diff --git a/testsuites/psxtests/psxhdrs/signal22.c b/testsuites/psxtests/psxhdrs/unistd/sleep.c index aca31da98d..aca31da98d 100644 --- a/testsuites/psxtests/psxhdrs/signal22.c +++ b/testsuites/psxtests/psxhdrs/unistd/sleep.c diff --git a/testsuites/psxtests/psxhdrs/sync03.c b/testsuites/psxtests/psxhdrs/unistd/sync.c index bc6992c01c..bc6992c01c 100644 --- a/testsuites/psxtests/psxhdrs/sync03.c +++ b/testsuites/psxtests/psxhdrs/unistd/sync.c diff --git a/testsuites/psxtests/psxhdrs/signal23.c b/testsuites/psxtests/psxhdrs/unistd/ualarm.c index bec71d03b3..bec71d03b3 100644 --- a/testsuites/psxtests/psxhdrs/signal23.c +++ b/testsuites/psxtests/psxhdrs/unistd/ualarm.c diff --git a/testsuites/psxtests/psxhdrs/timer07.c b/testsuites/psxtests/psxhdrs/unistd/usleep.c index f4125d1432..f4125d1432 100644 --- a/testsuites/psxtests/psxhdrs/timer07.c +++ b/testsuites/psxtests/psxhdrs/unistd/usleep.c |