summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1998-12-03 22:41:20 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1998-12-03 22:41:20 +0000
commitfae441bd9b6d8918afd7c008be4f9db69ccde0e5 (patch)
tree353875b07f8afab660cf5d686ff1b8cd26a7edda /testsuites
parentf98db20fb35de664d21affe2251d40920d6b509b (diff)
downloadrtems-fae441bd9b6d8918afd7c008be4f9db69ccde0e5.tar.bz2
Updated scn files to match present expected test output.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/psx01/psx01.scn2
-rw-r--r--testsuites/psxtests/psx05/psx05.scn10
-rw-r--r--testsuites/psxtests/psx06/psx06.scn1
-rw-r--r--testsuites/psxtests/psxtime/psxtime.scn265
4 files changed, 267 insertions, 11 deletions
diff --git a/testsuites/psxtests/psx01/psx01.scn b/testsuites/psxtests/psx01/psx01.scn
index 8f563dd26c..22d9fdc9a3 100644
--- a/testsuites/psxtests/psx01/psx01.scn
+++ b/testsuites/psxtests/psx01/psx01.scn
@@ -15,7 +15,7 @@ Fri May 24 11:05:03 1996
Init: seconds remaining (0)
Init: nanosleep - EINVAL (NULL time)
-Init: nanosleep - EAGAIN (negative seconds)
+Init: nanosleep - negative seconds small delay
Init: nanosleep - EINVAL (too many nanoseconds)
Init: nanosleep - yield
Init: nanosleep - 3.05 seconds
diff --git a/testsuites/psxtests/psx05/psx05.scn b/testsuites/psxtests/psx05/psx05.scn
index 6e4bc7320d..5106223388 100644
--- a/testsuites/psxtests/psx05/psx05.scn
+++ b/testsuites/psxtests/psx05/psx05.scn
@@ -8,27 +8,23 @@ Init: mutex process shared is (0) -- PTHREAD_PROCESS_PRIVATE
Init: pthread_mutexattr_destroy - SUCCESSFUL
Init: pthread_mutexattr_destroy - EINVAL (NULL attr)
Init: pthread_mutexattr_destroy - EINVAL (not initialized)
-
Init: pthread_mutexattr_getpshared - EINVAL (NULL attr)
Init: pthread_mutexattr_getpshared - EINVAL (NULL pshared)
Init: pthread_mutexattr_getpshared - EINVAL (not initialized)
Init: pthread_mutexattr_setpshared - EINVAL (NULL attr)
Init: pthread_mutexattr_setpshared - EINVAL (not initialized)
-
Init: pthread_mutexattr_getprotocol - EINVAL (NULL attr)
Init: pthread_mutexattr_getprotocol - EINVAL (NULL protocol)
Init: pthread_mutexattr_getprotocol - EINVAL (not initialized)
Init: pthread_mutexattr_setprotocol - EINVAL (NULL attr)
Init: pthread_mutexattr_setprotocol - EINVAL (invalid protocol)
Init: pthread_mutexattr_setprotocol - EINVAL (not initialized)
-
Init: pthread_mutexattr_getprioceiling - EINVAL (NULL attr)
Init: pthread_mutexattr_getprioceiling - EINVAL (NULL prioceiling)
Init: pthread_mutexattr_getprioceiling - EINVAL (not initialized)
Init: pthread_mutexattr_setprioceiling - EINVAL (NULL attr)
Init: pthread_mutexattr_setprioceiling - EINVAL (invalid priority)
Init: pthread_mutexattr_setprioceiling - EINVAL (not initialized)
-
Init: pthread_mutex_init - EINVAL (NULL mutex_id)
Init: pthread_mutex_init - EINVAL (not initialized attr)
Init: pthread_mutex_init - EINVAL (bad protocol)
@@ -55,20 +51,17 @@ Init: pthread_mutex_timedlock - time out in 1/2 second
Task: mutex acquired
Task: sleep for 2 seconds
Init: pthread_mutex_timedlock - EAGAIN (timeout)
-
Init: pthread_mutex_init - SUCCESSFUL
Init: pthread_mutex_init - EAGAIN (too many)
Init: pthread_mutexattr_destroy - SUCCESSFUL
Init: pthread_mutex_destroy - SUCCESSFUL
Init: pthread_mutex_destroy - EINVAL (invalid id)
-
Init: pthread_mutexattr_init - SUCCESSFUL
Init: pthread_mutex_init - SUCCESSFUL
Init: pthread_mutex_trylock - SUCCESSFUL
Init: pthread_mutex_destroy - EBUSY (already locked)
Init: pthread_mutex_unlock - SUCCESSFUL
Init: pthread_mutex_destroy - SUCCESSFUL
-
Init: pthread_mutexattr_init - SUCCESSFUL
Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_INHERIT)
Init: pthread_mutex_init - SUCCESSFUL
@@ -82,7 +75,6 @@ Task 2: unlock Mutex 2
Task 2: exit
Init: pthread_mutexattr_destroy - SUCCESSFUL
Init: pthread_mutex_destroy - SUCCESSFUL
-
Init: pthread_mutexattr_init - SUCCESSFUL
Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_PROTECT)
Init: pthread_mutex_init - SUCCESSFUL
@@ -93,7 +85,7 @@ Init: pthread_mutex_setprioceiling - EINVAL (invalid id)
Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)
Init: pthread_mutex_setprioceiling - EINVAL (NULL ceiling)
Init: pthread_mutex_setprioceiling - new ceiling = 200
-Init: pthread_mutex_setprioceiling - old ceiling = 1
+Init: pthread_mutex_setprioceiling - old ceiling = 254
Init: pthread_getschedparam - priority = 2
Init: pthread_mutex_trylock - SUCCESSFUL
Init: pthread_getschedparam - priority = 200
diff --git a/testsuites/psxtests/psx06/psx06.scn b/testsuites/psxtests/psx06/psx06.scn
index a17fa043ee..ca50710ed2 100644
--- a/testsuites/psxtests/psx06/psx06.scn
+++ b/testsuites/psxtests/psx06/psx06.scn
@@ -1,6 +1,5 @@
*** POSIX TEST 6 ***
Init's ID is 0x0c010001
-
Init: pthread_key_create - SUCCESSFUL
Destructor invoked 0 times
Init: pthread_key_create - EAGAIN (too many keys)
diff --git a/testsuites/psxtests/psxtime/psxtime.scn b/testsuites/psxtests/psxtime/psxtime.scn
index e69de29bb2..a4ff9bf719 100644
--- a/testsuites/psxtests/psxtime/psxtime.scn
+++ b/testsuites/psxtests/psxtime/psxtime.scn
@@ -0,0 +1,265 @@
+
+
+*** POSIX TIME OF DAY TEST ***
+rtems_clock_set 12:45:00 01/01/1988
+rtems_clock_get 12:45:00 01/01/1988
+gettimeofday: Fri Jan 01 12:45:00 1988
+time: Fri Jan 01 12:45:00 1988
+localtime: Fri Jan 01 12:45:00 1988
+gmtime: Fri Jan 01 12:45:00 1988
+
+rtems_clock_get 12:45:05 01/01/1988
+gettimeofday: Fri Jan 01 12:45:05 1988
+time: Fri Jan 01 12:45:05 1988
+localtime: Fri Jan 01 12:45:05 1988
+gmtime: Fri Jan 01 12:45:05 1988
+
+rtems_clock_get 12:45:10 01/01/1988
+gettimeofday: Fri Jan 01 12:45:10 1988
+time: Fri Jan 01 12:45:10 1988
+localtime: Fri Jan 01 12:45:10 1988
+gmtime: Fri Jan 01 12:45:10 1988
+
+rtems_clock_get 12:45:15 01/01/1988
+gettimeofday: Fri Jan 01 12:45:15 1988
+time: Fri Jan 01 12:45:15 1988
+localtime: Fri Jan 01 12:45:15 1988
+gmtime: Fri Jan 01 12:45:15 1988
+
+rtems_clock_get 12:45:20 01/01/1988
+gettimeofday: Fri Jan 01 12:45:20 1988
+time: Fri Jan 01 12:45:20 1988
+localtime: Fri Jan 01 12:45:20 1988
+gmtime: Fri Jan 01 12:45:20 1988
+
+rtems_clock_get 12:45:25 01/01/1988
+gettimeofday: Fri Jan 01 12:45:25 1988
+time: Fri Jan 01 12:45:25 1988
+localtime: Fri Jan 01 12:45:25 1988
+gmtime: Fri Jan 01 12:45:25 1988
+
+rtems_clock_set 09:00:00 12/31/1988
+rtems_clock_get 09:00:00 12/31/1988
+gettimeofday: Sat Dec 31 09:00:00 1988
+time: Sat Dec 31 09:00:00 1988
+localtime: Sat Dec 31 09:00:00 1988
+gmtime: Sat Dec 31 09:00:00 1988
+
+rtems_clock_get 09:00:05 12/31/1988
+gettimeofday: Sat Dec 31 09:00:05 1988
+time: Sat Dec 31 09:00:05 1988
+localtime: Sat Dec 31 09:00:05 1988
+gmtime: Sat Dec 31 09:00:05 1988
+
+rtems_clock_get 09:00:10 12/31/1988
+gettimeofday: Sat Dec 31 09:00:10 1988
+time: Sat Dec 31 09:00:10 1988
+localtime: Sat Dec 31 09:00:10 1988
+gmtime: Sat Dec 31 09:00:10 1988
+
+rtems_clock_get 09:00:15 12/31/1988
+gettimeofday: Sat Dec 31 09:00:15 1988
+time: Sat Dec 31 09:00:15 1988
+localtime: Sat Dec 31 09:00:15 1988
+gmtime: Sat Dec 31 09:00:15 1988
+
+rtems_clock_get 09:00:20 12/31/1988
+gettimeofday: Sat Dec 31 09:00:20 1988
+time: Sat Dec 31 09:00:20 1988
+localtime: Sat Dec 31 09:00:20 1988
+gmtime: Sat Dec 31 09:00:20 1988
+
+rtems_clock_get 09:00:25 12/31/1988
+gettimeofday: Sat Dec 31 09:00:25 1988
+time: Sat Dec 31 09:00:25 1988
+localtime: Sat Dec 31 09:00:25 1988
+gmtime: Sat Dec 31 09:00:25 1988
+
+rtems_clock_set 23:55:59 12/31/1999
+rtems_clock_get 23:55:59 12/31/1999
+gettimeofday: Fri Dec 31 23:55:59 1999
+time: Fri Dec 31 23:55:59 1999
+localtime: Fri Dec 31 23:55:59 1999
+gmtime: Fri Dec 31 23:55:59 1999
+
+rtems_clock_get 23:56:04 12/31/1999
+gettimeofday: Fri Dec 31 23:56:04 1999
+time: Fri Dec 31 23:56:04 1999
+localtime: Fri Dec 31 23:56:04 1999
+gmtime: Fri Dec 31 23:56:04 1999
+
+rtems_clock_get 23:56:09 12/31/1999
+gettimeofday: Fri Dec 31 23:56:09 1999
+time: Fri Dec 31 23:56:09 1999
+localtime: Fri Dec 31 23:56:09 1999
+gmtime: Fri Dec 31 23:56:09 1999
+
+rtems_clock_get 23:56:14 12/31/1999
+gettimeofday: Fri Dec 31 23:56:14 1999
+time: Fri Dec 31 23:56:14 1999
+localtime: Fri Dec 31 23:56:14 1999
+gmtime: Fri Dec 31 23:56:14 1999
+
+rtems_clock_get 23:56:19 12/31/1999
+gettimeofday: Fri Dec 31 23:56:19 1999
+time: Fri Dec 31 23:56:19 1999
+localtime: Fri Dec 31 23:56:19 1999
+gmtime: Fri Dec 31 23:56:19 1999
+
+rtems_clock_get 23:56:24 12/31/1999
+gettimeofday: Fri Dec 31 23:56:24 1999
+time: Fri Dec 31 23:56:24 1999
+localtime: Fri Dec 31 23:56:24 1999
+gmtime: Fri Dec 31 23:56:24 1999
+
+rtems_clock_set 00:01:30 06/30/1999
+rtems_clock_get 00:01:30 06/30/1999
+gettimeofday: Wed Jun 30 00:01:30 1999
+time: Wed Jun 30 00:01:30 1999
+localtime: Wed Jun 30 00:01:30 1999
+gmtime: Wed Jun 30 00:01:30 1999
+
+rtems_clock_get 00:01:35 06/30/1999
+gettimeofday: Wed Jun 30 00:01:35 1999
+time: Wed Jun 30 00:01:35 1999
+localtime: Wed Jun 30 00:01:35 1999
+gmtime: Wed Jun 30 00:01:35 1999
+
+rtems_clock_get 00:01:40 06/30/1999
+gettimeofday: Wed Jun 30 00:01:40 1999
+time: Wed Jun 30 00:01:40 1999
+localtime: Wed Jun 30 00:01:40 1999
+gmtime: Wed Jun 30 00:01:40 1999
+
+rtems_clock_get 00:01:45 06/30/1999
+gettimeofday: Wed Jun 30 00:01:45 1999
+time: Wed Jun 30 00:01:45 1999
+localtime: Wed Jun 30 00:01:45 1999
+gmtime: Wed Jun 30 00:01:45 1999
+
+rtems_clock_get 00:01:50 06/30/1999
+gettimeofday: Wed Jun 30 00:01:50 1999
+time: Wed Jun 30 00:01:50 1999
+localtime: Wed Jun 30 00:01:50 1999
+gmtime: Wed Jun 30 00:01:50 1999
+
+rtems_clock_get 00:01:55 06/30/1999
+gettimeofday: Wed Jun 30 00:01:55 1999
+time: Wed Jun 30 00:01:55 1999
+localtime: Wed Jun 30 00:01:55 1999
+gmtime: Wed Jun 30 00:01:55 1999
+
+rtems_clock_set 00:15:59 01/01/2000
+rtems_clock_get 00:15:59 01/01/2000
+gettimeofday: Sat Jan 01 00:15:59 2000
+time: Sat Jan 01 00:15:59 2000
+localtime: Sat Jan 01 00:15:59 2000
+gmtime: Sat Jan 01 00:15:59 2000
+
+rtems_clock_get 00:16:04 01/01/2000
+gettimeofday: Sat Jan 01 00:16:04 2000
+time: Sat Jan 01 00:16:04 2000
+localtime: Sat Jan 01 00:16:04 2000
+gmtime: Sat Jan 01 00:16:04 2000
+
+rtems_clock_get 00:16:09 01/01/2000
+gettimeofday: Sat Jan 01 00:16:09 2000
+time: Sat Jan 01 00:16:09 2000
+localtime: Sat Jan 01 00:16:09 2000
+gmtime: Sat Jan 01 00:16:09 2000
+
+rtems_clock_get 00:16:14 01/01/2000
+gettimeofday: Sat Jan 01 00:16:14 2000
+time: Sat Jan 01 00:16:14 2000
+localtime: Sat Jan 01 00:16:14 2000
+gmtime: Sat Jan 01 00:16:14 2000
+
+rtems_clock_get 00:16:19 01/01/2000
+gettimeofday: Sat Jan 01 00:16:19 2000
+time: Sat Jan 01 00:16:19 2000
+localtime: Sat Jan 01 00:16:19 2000
+gmtime: Sat Jan 01 00:16:19 2000
+
+rtems_clock_get 00:16:24 01/01/2000
+gettimeofday: Sat Jan 01 00:16:24 2000
+time: Sat Jan 01 00:16:24 2000
+localtime: Sat Jan 01 00:16:24 2000
+gmtime: Sat Jan 01 00:16:24 2000
+
+rtems_clock_set 05:10:59 02/02/2005
+rtems_clock_get 05:10:59 02/02/2005
+gettimeofday: Wed Feb 02 05:10:59 2005
+time: Wed Feb 02 05:10:59 2005
+localtime: Wed Feb 02 05:10:59 2005
+gmtime: Wed Feb 02 05:10:59 2005
+
+rtems_clock_get 05:11:04 02/02/2005
+gettimeofday: Wed Feb 02 05:11:04 2005
+time: Wed Feb 02 05:11:04 2005
+localtime: Wed Feb 02 05:11:04 2005
+gmtime: Wed Feb 02 05:11:04 2005
+
+rtems_clock_get 05:11:09 02/02/2005
+gettimeofday: Wed Feb 02 05:11:09 2005
+time: Wed Feb 02 05:11:09 2005
+localtime: Wed Feb 02 05:11:09 2005
+gmtime: Wed Feb 02 05:11:09 2005
+
+rtems_clock_get 05:11:14 02/02/2005
+gettimeofday: Wed Feb 02 05:11:14 2005
+time: Wed Feb 02 05:11:14 2005
+localtime: Wed Feb 02 05:11:14 2005
+gmtime: Wed Feb 02 05:11:14 2005
+
+rtems_clock_get 05:11:19 02/02/2005
+gettimeofday: Wed Feb 02 05:11:19 2005
+time: Wed Feb 02 05:11:19 2005
+localtime: Wed Feb 02 05:11:19 2005
+gmtime: Wed Feb 02 05:11:19 2005
+
+rtems_clock_get 05:11:24 02/02/2005
+gettimeofday: Wed Feb 02 05:11:24 2005
+time: Wed Feb 02 05:11:24 2005
+localtime: Wed Feb 02 05:11:24 2005
+gmtime: Wed Feb 02 05:11:24 2005
+
+rtems_clock_set 10:05:59 03/03/2010
+rtems_clock_get 10:05:59 03/03/2010
+gettimeofday: Wed Mar 03 10:05:59 2010
+time: Wed Mar 03 10:05:59 2010
+localtime: Wed Mar 03 10:05:59 2010
+gmtime: Wed Mar 03 10:05:59 2010
+
+rtems_clock_get 10:06:04 03/03/2010
+gettimeofday: Wed Mar 03 10:06:04 2010
+time: Wed Mar 03 10:06:04 2010
+localtime: Wed Mar 03 10:06:04 2010
+gmtime: Wed Mar 03 10:06:04 2010
+
+rtems_clock_get 10:06:09 03/03/2010
+gettimeofday: Wed Mar 03 10:06:09 2010
+time: Wed Mar 03 10:06:09 2010
+localtime: Wed Mar 03 10:06:09 2010
+gmtime: Wed Mar 03 10:06:09 2010
+
+rtems_clock_get 10:06:14 03/03/2010
+gettimeofday: Wed Mar 03 10:06:14 2010
+time: Wed Mar 03 10:06:14 2010
+localtime: Wed Mar 03 10:06:14 2010
+gmtime: Wed Mar 03 10:06:14 2010
+
+rtems_clock_get 10:06:19 03/03/2010
+gettimeofday: Wed Mar 03 10:06:19 2010
+time: Wed Mar 03 10:06:19 2010
+localtime: Wed Mar 03 10:06:19 2010
+gmtime: Wed Mar 03 10:06:19 2010
+
+rtems_clock_get 10:06:24 03/03/2010
+gettimeofday: Wed Mar 03 10:06:24 2010
+time: Wed Mar 03 10:06:24 2010
+localtime: Wed Mar 03 10:06:24 2010
+gmtime: Wed Mar 03 10:06:24 2010
+
+
+
+*** END OF TIME OF DAY TEST 01 ***