summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-20 13:50:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-20 13:50:54 +0000
commit1fbd283c2b5e92c1e9450c5e5486a73427b3ba23 (patch)
tree885778f8554a02bc196578268a418003299a7eac /testsuites
parent80526fa1c71dc6b842d51b4c72b7f78e8d40c690 (diff)
downloadrtems-1fbd283c2b5e92c1e9450c5e5486a73427b3ba23.tar.bz2
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn, psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn, psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c, psxtime/psxtime.scn, psxtimer/psxtimer.scn: Various adjustments so test output matches screens more reliably.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/ChangeLog8
-rw-r--r--testsuites/psxtests/psx04/init.c11
-rw-r--r--testsuites/psxtests/psx04/psx04.scn1
-rw-r--r--testsuites/psxtests/psx07/init.c3
-rw-r--r--testsuites/psxtests/psx07/psx07.scn2
-rw-r--r--testsuites/psxtests/psxfile01/psxfile01.scn38
-rw-r--r--testsuites/psxtests/psxmsgq01/psxmsgq01.scn16
-rw-r--r--testsuites/psxtests/psxreaddir/test.c8
-rw-r--r--testsuites/psxtests/psxstat/psxstat.scn214
-rw-r--r--testsuites/psxtests/psxstat/test.c4
-rw-r--r--testsuites/psxtests/psxtime/psxtime.scn240
-rw-r--r--testsuites/psxtests/psxtimer/psxtimer.scn70
12 files changed, 306 insertions, 309 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog
index 1f622d5f1a..0082d26481 100644
--- a/testsuites/psxtests/ChangeLog
+++ b/testsuites/psxtests/ChangeLog
@@ -1,3 +1,11 @@
+2001-04-20 Joel Sherrill <joel@OARcorp.com>
+
+ * psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn,
+ psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn,
+ psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c,
+ psxtime/psxtime.scn, psxtimer/psxtimer.scn:
+ Various adjustments so test output matches screens more reliably.
+
2001-01-25 Joel Sherrill <joel@OARcorp.com>
* psx01/psx01.scn: Corrected to reflect clock_getres() now working.
diff --git a/testsuites/psxtests/psx04/init.c b/testsuites/psxtests/psx04/init.c
index da1856961b..11b6828581 100644
--- a/testsuites/psxtests/psx04/init.c
+++ b/testsuites/psxtests/psx04/init.c
@@ -515,17 +515,6 @@ void *POSIX_Init(
assert( errno == EINVAL );
puts( "Init: pthread_kill - EINVAL (sig invalid)" );
-/*
- * This is now implemented. We should delete this but for now
- * we will just comment this out.
- *
- * status = pthread_kill( 0, SIGUSR1 );
- * if ( status != -1 )
- * printf( "status = %d\n", status );
- * assert( errno == ENOSYS );
- * puts( "Init: pthread_kill - ENOSYS (signal SA_SIGINFO)" );
- */
-
status = pthread_kill( 0, SIGUSR2 );
if ( status != -1 )
printf( "status = %d\n", status );
diff --git a/testsuites/psxtests/psx04/psx04.scn b/testsuites/psxtests/psx04/psx04.scn
index 17f2e5db97..43aaa83866 100644
--- a/testsuites/psxtests/psx04/psx04.scn
+++ b/testsuites/psxtests/psx04/psx04.scn
@@ -90,7 +90,6 @@ Init: sigpending - EINVAL (set invalid)
Init: pthread_sigmask - EINVAL (timout->nsec invalid < 0)
Init: pthread_sigmask - EINVAL (timout->nsec invalid to large)
Init: pthread_kill - EINVAL (sig invalid)
-Init: pthread_kill - ENOSYS (signal SA_SIGINFO)
Init: pthread_kill - ESRCH (signal SA_SIGINFO)
Init: pthread_kill - SUCCESSFUL (signal = 0)
Init: pthread_kill - SUCCESSFUL (signal = SIG_IGN)
diff --git a/testsuites/psxtests/psx07/init.c b/testsuites/psxtests/psx07/init.c
index 59a2e93174..0226f6df48 100644
--- a/testsuites/psxtests/psx07/init.c
+++ b/testsuites/psxtests/psx07/init.c
@@ -304,7 +304,8 @@ void *POSIX_Init(
puts( "Init: pthread_attr_getstacksize - SUCCESSFUL" );
status = pthread_attr_getstacksize( &attr, &stacksize );
assert( !status );
- printf( "Init: current stack size attribute = %ld\n", (long) stacksize );
+ if ( stacksize == (STACK_MINIMUM_SIZE * 2) )
+ printf( "Init: current stack size attribute is OK\n" );
/* exercise get and set stack address */
diff --git a/testsuites/psxtests/psx07/psx07.scn b/testsuites/psxtests/psx07/psx07.scn
index c8964694e2..08f844896e 100644
--- a/testsuites/psxtests/psx07/psx07.scn
+++ b/testsuites/psxtests/psx07/psx07.scn
@@ -48,7 +48,7 @@ Init: pthread_attr_getstacksize - EINVAL (NULL attr)
Init: pthread_attr_getstacksize - EINVAL (NULL stacksize)
Init: pthread_attr_getstacksize - EINVAL (not initialized attr)
Init: pthread_attr_getstacksize - SUCCESSFUL
-Init: current stack size attribute = 5120
+Init: current stack size attribute is OK
Init: pthread_attr_setstackaddr - EINVAL (NULL attr)
Init: pthread_attr_setstackaddr - EINVAL (not initialized attr)
Init: pthread_attr_setstackaddr - SUCCESSFUL
diff --git a/testsuites/psxtests/psxfile01/psxfile01.scn b/testsuites/psxtests/psxfile01/psxfile01.scn
index 7d5f6d106e..2b77e81470 100644
--- a/testsuites/psxtests/psxfile01/psxfile01.scn
+++ b/testsuites/psxtests/psxfile01/psxfile01.scn
@@ -17,9 +17,9 @@ stat of /dev/console
....nlink = 1
....uid = 0
....gid = 0
-....atime = Fri Jan 01 00:00:00 1988
-....mtime = Fri Jan 01 00:00:00 1988
-....ctime = Fri Jan 01 00:00:00 1988
+....atime = Fri Jan 1 00:00:00 1988
+....mtime = Fri Jan 1 00:00:00 1988
+....ctime = Fri Jan 1 00:00:00 1988
mkdir /dev/tty
@@ -104,9 +104,9 @@ stat(/tmp/j) returned -1 (errno=2)
....nlink = 1
....uid = 0
....gid = 0
-....atime = Fri Jan 01 00:00:00 1988
-....mtime = Fri Jan 01 00:00:00 1988
-....ctime = Fri Jan 01 00:00:00 1988
+....atime = Fri Jan 1 00:00:00 1988
+....mtime = Fri Jan 1 00:00:00 1988
+....ctime = Fri Jan 1 00:00:00 1988
fopen of /tmp/j
fprintf to /tmp/j
(1) 26 characters written to the file
@@ -145,13 +145,13 @@ This is call 5 to fprintf
............S3 (device 255, 128)
........test_console (device 0, 0)
....etc/
-........passwd (file 0 0x0 0x0 0x0)
+........passwd (file 0)
....tmp/
........my_dir/
-........tom (file 0 0x0 0x0 0x0)
-........john (file 0 0x0 0x0 0x0)
-........joel (file 279487 0x7d58d8 0x7d5388 0x7cfe38)
-........j (file 130 0x77a338 0x0 0x0)
+........tom (file 0)
+........john (file 0)
+........joel (file 279487)
+........j (file 130)
*************** End of Dump ***************
truncate /tmp/j to length of 40
....st_dev (0x0:0x0)
@@ -171,12 +171,12 @@ truncate /tmp/j to length of 40
............S3 (device 255, 128)
........test_console (device 0, 0)
....etc/
-........passwd (file 0 0x0 0x0 0x0)
+........passwd (file 0)
....tmp/
........my_dir/
-........tom (file 0 0x0 0x0 0x0)
-........john (file 0 0x0 0x0 0x0)
-........j (file 40 0x77a338 0x0 0x0)
+........tom (file 0)
+........john (file 0)
+........j (file 40)
*************** End of Dump ***************
truncate /tmp/j to length of 0
truncate /tmp to length of 0 should fail with EISDIR
@@ -190,12 +190,12 @@ truncate /tmp to length of 0 should fail with EISDIR
............S3 (device 255, 128)
........test_console (device 0, 0)
....etc/
-........passwd (file 0 0x0 0x0 0x0)
+........passwd (file 0)
....tmp/
........my_dir/
-........tom (file 0 0x0 0x0 0x0)
-........john (file 0 0x0 0x0 0x0)
-........j (file 0 0x77a338 0x0 0x0)
+........tom (file 0)
+........john (file 0)
+........j (file 0)
*************** End of Dump ***************
*** END OF FILE TEST 1 ***
diff --git a/testsuites/psxtests/psxmsgq01/psxmsgq01.scn b/testsuites/psxtests/psxmsgq01/psxmsgq01.scn
index 7da252f70a..8ab92b727c 100644
--- a/testsuites/psxtests/psxmsgq01/psxmsgq01.scn
+++ b/testsuites/psxtests/psxmsgq01/psxmsgq01.scn
@@ -72,22 +72,22 @@ Init: mq_send - to Qnoblock msg: 12345678 priority 31
waiting on any signal for 3 seconds.
_______________multi-thread Task 4 Receive Test
Init: mq_receive - Empty queue changes to non-blocking (EAGAIN)
-Task_4: Fri Jan 01 00:00:18 1988
+Task_4: Fri Jan 1 00:00:18 1988
Task_4: Set queue to non-blocking
Task_4: Return queue to blocking
Task_4: pthread_exit
-Init: Fri Jan 01 00:00:18 1988
+Init: Fri Jan 1 00:00:18 1988
_______________multi-thread Task 1 Test
-Task_1: Fri Jan 01 00:00:18 1988
+Task_1: Fri Jan 1 00:00:18 1988
Task_1: mq_send - to Qblock msg: 12345678 priority 31
Task_1: pthread_exit
-Init: Fri Jan 01 00:00:18 1988
+Init: Fri Jan 1 00:00:18 1988
_______________multi-thread Task 4 Send Test
Init: Verify Queues are empty
Init: Fill Queues with messages
Init: Verify Queues are full
Init: mq_send - Full queue changes to non-blocking (EAGAIN)
-Task_4: Fri Jan 01 00:00:18 1988
+Task_4: Fri Jan 1 00:00:18 1988
Task_4: Set queue to non-blocking
Task_4: Return queue to blocking
Task_4: pthread_exit
@@ -98,10 +98,10 @@ Init: Verify Queues are empty
Init: Fill Queues with messages
Init: Verify Queues are full
Init: mq_send - to Qblock msg: Last priority 32
-Task_2: Fri Jan 01 00:00:18 1988
+Task_2: Fri Jan 1 00:00:18 1988
Task_2: Verify Queues are full
Task_2: pthread_exit
-Init: Fri Jan 01 00:00:18 1988
+Init: Fri Jan 1 00:00:18 1988
Init: Verify Queues are full
Init: Empty all Queues
_______________multi-thread Task 3 Test
@@ -109,7 +109,7 @@ Init: Verify Queues are empty
Init: Fill Queues with messages
Init: Verify Queues are full
Init: mq_send - Block while thread deletes queue (EBADF)
-Task_3: Fri Jan 01 00:00:18 1988
+Task_3: Fri Jan 1 00:00:18 1988
_______________Unlink and Close All Files
Task_3: pthread_exit
*** END OF POSIX MESSAGE QUEUE TEST ***
diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c
index 7e8f031034..0bdc186e5f 100644
--- a/testsuites/psxtests/psxreaddir/test.c
+++ b/testsuites/psxtests/psxreaddir/test.c
@@ -54,12 +54,12 @@ void printdir( DIR *directory )
{
struct dirent *d;
- printf( " %-20s %8s %8s %8s %4s\n",
- " name", "inode", " offset", "reclen", " type" );
+ printf( "%-20s %8s %8s %8s %4s\n",
+ "name", " inode", " offset", "reclen", " type" );
d = readdir(directory);
while (d) {
- printf( " %-20s %8d %8d %6d 0x%04x\n",
+ printf( "%-20s %8d %8d %6d 0x%04x\n",
d->d_name, (int)d->d_ino, (int)d->d_off, d->d_reclen, d->d_type );
d = readdir(directory);
@@ -263,7 +263,7 @@ int main(
status = mkdir( "/many", 0x1c0 );
status = chdir( "/many" );
for (i = 0; i<44; i++) {
- printf(" Create %s\n", many_files[i]);
+ printf("Create %s\n", many_files[i]);
fd = open (many_files[i], O_CREAT, S_IRWXU);
close (fd);
}
diff --git a/testsuites/psxtests/psxstat/psxstat.scn b/testsuites/psxtests/psxstat/psxstat.scn
index 5a534a5aaa..8be1a93e13 100644
--- a/testsuites/psxtests/psxstat/psxstat.scn
+++ b/testsuites/psxtests/psxstat/psxstat.scn
@@ -8,7 +8,7 @@ Making directory /my_mount_point/dir1/dir1
Making directory /./././my_mount_point/dir1/ dir1
Making directory /./././my_mount_point/links
Making directory ///my_mount_point/dir1/dir1/../../dir1/../symlinks/////
-Making file /////my_mount_point/dir1///file1\//
+Making file /////my_mount_point/dir1/\//file1\\//
Making file /my_mount_point/dir1/file2
Making file /my_mount_point/dir1/file3
Making file /my_mount_point/dir1/file4
@@ -43,7 +43,7 @@ Making file links///links_d1_d1_f1
Making file links///links_r1_d1 f1
Doing the stat() on all the good absolute paths
stat( /my_mount_point/dev ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 2
...st_mode 40700
...st_nlink 1
@@ -54,8 +54,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:00 1988
-stat( ////my_mount_point/dir1///file1\// ) returned
-st_dev (0x0:0x0)
+stat( ////my_mount_point/dir1/\//file1\\// ) returned
+...st_dev (0x0:0x0)
...st_ino b
...st_mode 100000
...st_nlink 3
@@ -66,8 +66,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
-stat( /my_mount_point/dir1/\/file2 ) returned
-st_dev (0x0:0x0)
+stat( /my_mount_point/dir1/\\/file2 ) returned
+...st_dev (0x0:0x0)
...st_ino c
...st_mode 100000
...st_nlink 3
@@ -78,8 +78,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
-stat( /my_mount_point/dir1/file3/////\ ) returned
-st_dev (0x0:0x0)
+stat( /my_mount_point/dir1/file3/////\\\ ) returned
+...st_dev (0x0:0x0)
...st_ino d
...st_mode 100000
...st_nlink 3
@@ -91,7 +91,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( /my_mount_point/dir1/file4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino e
...st_mode 100000
...st_nlink 3
@@ -103,7 +103,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( /my_mount_point/dir1/dir1/file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino f
...st_mode 100000
...st_nlink 3
@@ -115,7 +115,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( /my_mount_point/dir1/dir1/ file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 10
...st_mode 100000
...st_nlink 3
@@ -127,7 +127,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( /my_mount_point/dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 3
...st_mode 40700
...st_nlink 3
@@ -138,8 +138,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
-stat( /my_mount_point/dir2////// ) returned
-st_dev (0x0:0x0)
+stat( /my_mount_point/dir2//////\ ) returned
+...st_dev (0x0:0x0)
...st_ino 4
...st_mode 40700
...st_nlink 3
@@ -151,7 +151,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( /my_mount_point/dir3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 5
...st_mode 40700
...st_nlink 3
@@ -163,7 +163,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( /my_mount_point/dir4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 6
...st_mode 40700
...st_nlink 3
@@ -175,7 +175,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( /my_mount_point/dir1/dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 7
...st_mode 40700
...st_nlink 3
@@ -186,8 +186,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
-stat( /my_mount_point/dir1/ dir1///\ ) returned
-st_dev (0x0:0x0)
+stat( /my_mount_point/dir1/ dir1///\\ ) returned
+...st_dev (0x0:0x0)
...st_ino 8
...st_mode 40700
...st_nlink 3
@@ -198,8 +198,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
-stat( /my_mount_point///////links///// ) returned
-st_dev (0x0:0x0)
+stat( /my_mount_point/\/\/\/\/\/\/links\/\/\/\/\/\ ) returned
+...st_dev (0x0:0x0)
...st_ino 9
...st_mode 40700
...st_nlink 3
@@ -212,7 +212,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:05 1988
Doing the stat() on all the good relative paths
stat( dev ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 2
...st_mode 40700
...st_nlink 1
@@ -223,8 +223,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:00 1988
-stat( dir1///file1\// ) returned
-st_dev (0x0:0x0)
+stat( dir1/\//file1\\// ) returned
+...st_dev (0x0:0x0)
...st_ino b
...st_mode 100000
...st_nlink 3
@@ -235,8 +235,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
-stat( dir1/\/file2 ) returned
-st_dev (0x0:0x0)
+stat( dir1/\\/file2 ) returned
+...st_dev (0x0:0x0)
...st_ino c
...st_mode 100000
...st_nlink 3
@@ -247,8 +247,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
-stat( dir1/file3/////\ ) returned
-st_dev (0x0:0x0)
+stat( dir1/file3/////\\\ ) returned
+...st_dev (0x0:0x0)
...st_ino d
...st_mode 100000
...st_nlink 3
@@ -260,7 +260,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( dir1/file4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino e
...st_mode 100000
...st_nlink 3
@@ -272,7 +272,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( dir1/dir1/file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino f
...st_mode 100000
...st_nlink 3
@@ -284,7 +284,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( dir1/dir1/ file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 10
...st_mode 100000
...st_nlink 3
@@ -296,7 +296,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 3
...st_mode 40700
...st_nlink 3
@@ -307,8 +307,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
-stat( dir2////// ) returned
-st_dev (0x0:0x0)
+stat( dir2//////\ ) returned
+...st_dev (0x0:0x0)
...st_ino 4
...st_mode 40700
...st_nlink 3
@@ -320,7 +320,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( dir3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 5
...st_mode 40700
...st_nlink 3
@@ -332,7 +332,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( dir4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 6
...st_mode 40700
...st_nlink 3
@@ -344,7 +344,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( dir1/dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 7
...st_mode 40700
...st_nlink 3
@@ -355,8 +355,8 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
-stat( dir1/ dir1///\ ) returned
-st_dev (0x0:0x0)
+stat( dir1/ dir1///\\ ) returned
+...st_dev (0x0:0x0)
...st_ino 8
...st_mode 40700
...st_nlink 3
@@ -368,7 +368,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( main.c ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 11
...st_mode 100000
...st_nlink 1
@@ -382,23 +382,23 @@ st_dev (0x0:0x0)
chdir to dev
stat relative paths that are now bad
stat( dev ) returned : No such file or directory
-stat( dir1///file1\// ) returned : No such file or directory
-stat( dir1/\/file2 ) returned : No such file or directory
-stat( dir1/file3/////\ ) returned : No such file or directory
+stat( dir1/\//file1\\// ) returned : No such file or directory
+stat( dir1/\\/file2 ) returned : No such file or directory
+stat( dir1/file3/////\\\ ) returned : No such file or directory
stat( dir1/file4 ) returned : No such file or directory
stat( dir1/dir1/file1 ) returned : No such file or directory
stat( dir1/dir1/ file1 ) returned : No such file or directory
stat( dir1 ) returned : No such file or directory
-stat( dir2////// ) returned : No such file or directory
+stat( dir2//////\ ) returned : No such file or directory
stat( dir3 ) returned : No such file or directory
stat( dir4 ) returned : No such file or directory
stat( dir1/dir1 ) returned : No such file or directory
-stat( dir1/ dir1///\ ) returned : No such file or directory
+stat( dir1/ dir1///\\ ) returned : No such file or directory
stat( main.c ) returned : No such file or directory
chdir to ../links
Doing the stat() on good links
stat( dir1/dir1/../../links/dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 3
...st_mode 40700
...st_nlink 3
@@ -410,7 +410,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links/dir2 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 4
...st_mode 40700
...st_nlink 3
@@ -422,7 +422,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links/dir3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 5
...st_mode 40700
...st_nlink 3
@@ -434,7 +434,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links/dir4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 6
...st_mode 40700
...st_nlink 3
@@ -446,7 +446,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links/dir1_dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 7
...st_mode 40700
...st_nlink 3
@@ -458,7 +458,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links/dir1_ dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 8
...st_mode 40700
...st_nlink 3
@@ -470,7 +470,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links/../links/../links/links ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 9
...st_mode 40700
...st_nlink 3
@@ -482,7 +482,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links/dir1_file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino b
...st_mode 100000
...st_nlink 3
@@ -494,7 +494,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links/dir1_file2 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino c
...st_mode 100000
...st_nlink 3
@@ -506,7 +506,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links/dir1_file3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino d
...st_mode 100000
...st_nlink 3
@@ -518,7 +518,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links/dir1_file4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino e
...st_mode 100000
...st_nlink 3
@@ -530,7 +530,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links/dir1_dir1_f1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino f
...st_mode 100000
...st_nlink 3
@@ -542,7 +542,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links/dir1_dir1 f1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 10
...st_mode 100000
...st_nlink 3
@@ -554,7 +554,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links/links/links/links_dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 3
...st_mode 40700
...st_nlink 3
@@ -566,7 +566,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links//links_dir2 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 4
...st_mode 40700
...st_nlink 3
@@ -578,7 +578,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links//links_dir3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 5
...st_mode 40700
...st_nlink 3
@@ -590,7 +590,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links//links_dir4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 6
...st_mode 40700
...st_nlink 3
@@ -602,7 +602,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links//links_dir1_d1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 7
...st_mode 40700
...st_nlink 3
@@ -614,7 +614,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links//links_dir1 d1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 8
...st_mode 40700
...st_nlink 3
@@ -626,7 +626,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links//links_links ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 9
...st_mode 40700
...st_nlink 3
@@ -638,7 +638,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( links///links_d1_file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino b
...st_mode 100000
...st_nlink 3
@@ -650,7 +650,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links///links_d1_file2 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino c
...st_mode 100000
...st_nlink 3
@@ -662,7 +662,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links///links_d1_file3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino d
...st_mode 100000
...st_nlink 3
@@ -674,7 +674,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links///links_d1_file4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino e
...st_mode 100000
...st_nlink 3
@@ -686,7 +686,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links///links_d1_d1_f1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino f
...st_mode 100000
...st_nlink 3
@@ -698,7 +698,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( links///links_r1_d1 f1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 10
...st_mode 100000
...st_nlink 3
@@ -731,7 +731,7 @@ Verify with readlink
Making file /my_mount_point/symlinks/links
Verify with readlink
stat( /my_mount_point/symlinks/a_file_symlink ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino b
...st_mode 100000
...st_nlink 3
@@ -743,7 +743,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:10 1988
stat( /my_mount_point/symlinks/a_dir_symlink ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 3
...st_mode 40700
...st_nlink 3
@@ -755,7 +755,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:05 1988
stat( /my_mount_point/symlinks/a_link_symlink ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 3
...st_mode 40700
...st_nlink 3
@@ -768,7 +768,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:05 1988
stat( ../symlinks/no_file ) returned : No such file or directory
stat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 3
...st_mode 40700
...st_nlink 3
@@ -825,7 +825,7 @@ chdir to /my_mount_point
Remove /./././my_mount_point/dir1/ dir1
stat( /./././my_mount_point/dir1/ dir1 ) returned : No such file or directory
stat( links/dir1_ dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 8
...st_mode 40700
...st_nlink 2
@@ -837,7 +837,7 @@ st_dev (0x0:0x0)
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:20 1988
stat( links//links_dir1 d1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 8
...st_mode 40700
...st_nlink 2
@@ -861,8 +861,8 @@ unlink links/dir1_ dir1
Attempting to mount IMFS file system at /dir1/my_mount_point
rmdir /dir1/my_mount_point should fail with EBUSY
Unmount /my_mount_point/dir1/my_mount_point
-chmod of /////my_mount_point/dir1///file1\// to group and other execute
-Open /////my_mount_point/dir1///file1\// for write should fail with EACCES
+chmod of /////my_mount_point/dir1/\//file1\\// to group and other execute
+Open /////my_mount_point/dir1/\//file1\\// for write should fail with EACCES
chmod of /my_mount_point/dir4 to User Execute and Read
Mkdir of /my_mount_point/dir4/NewFile should fail with EACCES
Making too many hard links.
@@ -876,9 +876,9 @@ Making file /LinkName7
Making file /LinkName8
pass fstat a null pointer should fail with EFAULT
chdir to /my_mount_point
-Change group of /////my_mount_point/dir1///file1\//
-stat( /////my_mount_point/dir1///file1\// ) returned
-st_dev (0x0:0x0)
+Change group of /////my_mount_point/dir1/\//file1\\//
+stat( /////my_mount_point/dir1/\//file1\\// ) returned
+...st_dev (0x0:0x0)
...st_ino b
...st_mode 100011
...st_nlink 3
@@ -889,9 +889,9 @@ st_dev (0x0:0x0)
...st_atime Sat Dec 31 09:00:00 1988
...st_mtime Sat Dec 31 09:00:00 1988
...st_ctime Sat Dec 31 09:00:25 1988
-Change owner of /////my_mount_point/dir1///file1\//
-stat( /////my_mount_point/dir1///file1\// ) returned
-st_dev (0x0:0x0)
+Change owner of /////my_mount_point/dir1/\//file1\\//
+stat( /////my_mount_point/dir1/\//file1\\// ) returned
+...st_dev (0x0:0x0)
...st_ino b
...st_mode 100011
...st_nlink 3
@@ -904,7 +904,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change group of /my_mount_point/dir1/file2
stat( /my_mount_point/dir1/file2 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino c
...st_mode 100000
...st_nlink 3
@@ -917,7 +917,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change owner of /my_mount_point/dir1/file2
stat( /my_mount_point/dir1/file2 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino c
...st_mode 100000
...st_nlink 3
@@ -930,7 +930,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change group of /my_mount_point/dir1/file3
stat( /my_mount_point/dir1/file3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino d
...st_mode 100000
...st_nlink 3
@@ -943,7 +943,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change owner of /my_mount_point/dir1/file3
stat( /my_mount_point/dir1/file3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino d
...st_mode 100000
...st_nlink 3
@@ -956,7 +956,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change group of /my_mount_point/dir1/file4
stat( /my_mount_point/dir1/file4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino e
...st_mode 100000
...st_nlink 3
@@ -969,7 +969,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change owner of /my_mount_point/dir1/file4
stat( /my_mount_point/dir1/file4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino e
...st_mode 100000
...st_nlink 3
@@ -982,7 +982,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change group of /my_mount_point/dir1/dir1/file1
stat( /my_mount_point/dir1/dir1/file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino f
...st_mode 100000
...st_nlink 3
@@ -995,7 +995,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change owner of /my_mount_point/dir1/dir1/file1
stat( /my_mount_point/dir1/dir1/file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino f
...st_mode 100000
...st_nlink 3
@@ -1008,7 +1008,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change group of ../../..//my_mount_point/dir1/./././dir1/ file1
stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 10
...st_mode 100000
...st_nlink 3
@@ -1021,7 +1021,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change owner of ../../..//my_mount_point/dir1/./././dir1/ file1
stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 10
...st_mode 100000
...st_nlink 3
@@ -1034,7 +1034,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change group of main.c
stat( main.c ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 11
...st_mode 100000
...st_nlink 1
@@ -1047,7 +1047,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change owner of main.c
stat( main.c ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 11
...st_mode 100000
...st_nlink 1
@@ -1060,7 +1060,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:25 1988
Change group of dir1/dir1/../../links/dir1
stat( dir1/dir1/../../links/dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 3
...st_mode 40700
...st_nlink 3
@@ -1075,7 +1075,7 @@ Change owner of dir1/dir1/../../links/dir1
stat( dir1/dir1/../../links/dir1 ) returned : Permission denied
Change group of links/dir2
stat( links/dir2 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 4
...st_mode 40700
...st_nlink 3
@@ -1088,7 +1088,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:30 1988
Change owner of links/dir2
stat( links/dir2 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 4
...st_mode 40700
...st_nlink 3
@@ -1101,7 +1101,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:30 1988
Change group of links/dir3
stat( links/dir3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 5
...st_mode 40700
...st_nlink 3
@@ -1114,7 +1114,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:30 1988
Change owner of links/dir3
stat( links/dir3 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 5
...st_mode 40700
...st_nlink 3
@@ -1127,7 +1127,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:30 1988
Change group of links/dir4
stat( links/dir4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 6
...st_mode 40500
...st_nlink 3
@@ -1140,7 +1140,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:30 1988
Change owner of links/dir4
stat( links/dir4 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 6
...st_mode 40500
...st_nlink 3
@@ -1153,7 +1153,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:30 1988
Change group of links/dir1_dir1
stat( links/dir1_dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 7
...st_mode 40700
...st_nlink 3
@@ -1166,7 +1166,7 @@ st_dev (0x0:0x0)
...st_ctime Sat Dec 31 09:00:30 1988
Change owner of links/dir1_dir1
stat( links/dir1_dir1 ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 7
...st_mode 40700
...st_nlink 3
@@ -1183,7 +1183,7 @@ Change owner of links/dir1_ dir1
stat( links/dir1_ dir1 ) returned : No such file or directory
Change group of links/../links/../links/links
stat( links/../links/../links/links ) returned
-st_dev (0x0:0x0)
+...st_dev (0x0:0x0)
...st_ino 9
...st_mode 40700
...st_nlink 3
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c
index e3882af739..901f48bd0a 100644
--- a/testsuites/psxtests/psxstat/test.c
+++ b/testsuites/psxtests/psxstat/test.c
@@ -194,7 +194,7 @@ void stat_a_file(
rtems_filesystem_split_dev_t( statbuf.st_rdev, major2, minor2 );
- printf("\n\tst_dev (0x%x:0x%x)\n", major1, minor1 );
+ printf("\n...st_dev (0x%x:0x%x)\n", major1, minor1 );
printf( "...st_ino %x\n", (int) statbuf.st_ino );
printf( "...st_mode %o\n", statbuf.st_mode );
printf( "...st_nlink %x\n", statbuf.st_nlink );
@@ -687,7 +687,7 @@ void Cause_faults()
assert( status != 0 );
assert( errno == EACCES );
- printf(" Making too many hard links.\n" );
+ printf("Making too many hard links.\n" );
make_too_many_links( );
printf( "pass fstat a null pointer should fail with EFAULT\n");
diff --git a/testsuites/psxtests/psxtime/psxtime.scn b/testsuites/psxtests/psxtime/psxtime.scn
index 688e7c9442..57f751fcf5 100644
--- a/testsuites/psxtests/psxtime/psxtime.scn
+++ b/testsuites/psxtests/psxtime/psxtime.scn
@@ -3,40 +3,40 @@
*** 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
+gettimeofday: Fri Jan 1 12:45:00 1988
+time: Fri Jan 1 12:45:00 1988
+localtime: Fri Jan 1 12:45:00 1988
+gmtime: Fri Jan 1 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
+gettimeofday: Fri Jan 1 12:45:05 1988
+time: Fri Jan 1 12:45:05 1988
+localtime: Fri Jan 1 12:45:05 1988
+gmtime: Fri Jan 1 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
+gettimeofday: Fri Jan 1 12:45:10 1988
+time: Fri Jan 1 12:45:10 1988
+localtime: Fri Jan 1 12:45:10 1988
+gmtime: Fri Jan 1 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
+gettimeofday: Fri Jan 1 12:45:15 1988
+time: Fri Jan 1 12:45:15 1988
+localtime: Fri Jan 1 12:45:15 1988
+gmtime: Fri Jan 1 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
+gettimeofday: Fri Jan 1 12:45:20 1988
+time: Fri Jan 1 12:45:20 1988
+localtime: Fri Jan 1 12:45:20 1988
+gmtime: Fri Jan 1 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
+gettimeofday: Fri Jan 1 12:45:25 1988
+time: Fri Jan 1 12:45:25 1988
+localtime: Fri Jan 1 12:45:25 1988
+gmtime: Fri Jan 1 12:45:25 1988
rtems_clock_set 09:00:00 12/31/1988
rtems_clock_get 09:00:00 12/31/1988
@@ -151,151 +151,151 @@ 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
+gettimeofday: Sat Jan 1 00:15:59 2000
+time: Sat Jan 1 00:15:59 2000
+localtime: Sat Jan 1 00:15:59 2000
+gmtime: Sat Jan 1 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
+gettimeofday: Sat Jan 1 00:16:04 2000
+time: Sat Jan 1 00:16:04 2000
+localtime: Sat Jan 1 00:16:04 2000
+gmtime: Sat Jan 1 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
+gettimeofday: Sat Jan 1 00:16:09 2000
+time: Sat Jan 1 00:16:09 2000
+localtime: Sat Jan 1 00:16:09 2000
+gmtime: Sat Jan 1 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
+gettimeofday: Sat Jan 1 00:16:14 2000
+time: Sat Jan 1 00:16:14 2000
+localtime: Sat Jan 1 00:16:14 2000
+gmtime: Sat Jan 1 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
+gettimeofday: Sat Jan 1 00:16:19 2000
+time: Sat Jan 1 00:16:19 2000
+localtime: Sat Jan 1 00:16:19 2000
+gmtime: Sat Jan 1 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
+gettimeofday: Sat Jan 1 00:16:24 2000
+time: Sat Jan 1 00:16:24 2000
+localtime: Sat Jan 1 00:16:24 2000
+gmtime: Sat Jan 1 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
+gettimeofday: Wed Feb 2 05:10:59 2005
+time: Wed Feb 2 05:10:59 2005
+localtime: Wed Feb 2 05:10:59 2005
+gmtime: Wed Feb 2 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
+gettimeofday: Wed Feb 2 05:11:04 2005
+time: Wed Feb 2 05:11:04 2005
+localtime: Wed Feb 2 05:11:04 2005
+gmtime: Wed Feb 2 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
+gettimeofday: Wed Feb 2 05:11:09 2005
+time: Wed Feb 2 05:11:09 2005
+localtime: Wed Feb 2 05:11:09 2005
+gmtime: Wed Feb 2 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
+gettimeofday: Wed Feb 2 05:11:14 2005
+time: Wed Feb 2 05:11:14 2005
+localtime: Wed Feb 2 05:11:14 2005
+gmtime: Wed Feb 2 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
+gettimeofday: Wed Feb 2 05:11:19 2005
+time: Wed Feb 2 05:11:19 2005
+localtime: Wed Feb 2 05:11:19 2005
+gmtime: Wed Feb 2 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
+gettimeofday: Wed Feb 2 05:11:24 2005
+time: Wed Feb 2 05:11:24 2005
+localtime: Wed Feb 2 05:11:24 2005
+gmtime: Wed Feb 2 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
+gettimeofday: Wed Mar 3 10:05:59 2010
+time: Wed Mar 3 10:05:59 2010
+localtime: Wed Mar 3 10:05:59 2010
+gmtime: Wed Mar 3 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
+gettimeofday: Wed Mar 3 10:06:04 2010
+time: Wed Mar 3 10:06:04 2010
+localtime: Wed Mar 3 10:06:04 2010
+gmtime: Wed Mar 3 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
+gettimeofday: Wed Mar 3 10:06:09 2010
+time: Wed Mar 3 10:06:09 2010
+localtime: Wed Mar 3 10:06:09 2010
+gmtime: Wed Mar 3 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
+gettimeofday: Wed Mar 3 10:06:14 2010
+time: Wed Mar 3 10:06:14 2010
+localtime: Wed Mar 3 10:06:14 2010
+gmtime: Wed Mar 3 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
+gettimeofday: Wed Mar 3 10:06:19 2010
+time: Wed Mar 3 10:06:19 2010
+localtime: Wed Mar 3 10:06:19 2010
+gmtime: Wed Mar 3 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
+gettimeofday: Wed Mar 3 10:06:24 2010
+time: Wed Mar 3 10:06:24 2010
+localtime: Wed Mar 3 10:06:24 2010
+gmtime: Wed Mar 3 10:06:24 2010
rtems_clock_set 15:00:59 04/04/2020
rtems_clock_get 15:00:59 04/04/2020
-gettimeofday: Sat Apr 04 15:00:59 2020
-time: Sat Apr 04 15:00:59 2020
-localtime: Sat Apr 04 15:00:59 2020
-gmtime: Sat Apr 04 15:00:59 2020
+gettimeofday: Sat Apr 4 15:00:59 2020
+time: Sat Apr 4 15:00:59 2020
+localtime: Sat Apr 4 15:00:59 2020
+gmtime: Sat Apr 4 15:00:59 2020
rtems_clock_get 15:01:04 04/04/2020
-gettimeofday: Sat Apr 04 15:01:04 2020
-time: Sat Apr 04 15:01:04 2020
-localtime: Sat Apr 04 15:01:04 2020
-gmtime: Sat Apr 04 15:01:04 2020
+gettimeofday: Sat Apr 4 15:01:04 2020
+time: Sat Apr 4 15:01:04 2020
+localtime: Sat Apr 4 15:01:04 2020
+gmtime: Sat Apr 4 15:01:04 2020
rtems_clock_get 15:01:09 04/04/2020
-gettimeofday: Sat Apr 04 15:01:09 2020
-time: Sat Apr 04 15:01:09 2020
-localtime: Sat Apr 04 15:01:09 2020
-gmtime: Sat Apr 04 15:01:09 2020
+gettimeofday: Sat Apr 4 15:01:09 2020
+time: Sat Apr 4 15:01:09 2020
+localtime: Sat Apr 4 15:01:09 2020
+gmtime: Sat Apr 4 15:01:09 2020
rtems_clock_get 15:01:14 04/04/2020
-gettimeofday: Sat Apr 04 15:01:14 2020
-time: Sat Apr 04 15:01:14 2020
-localtime: Sat Apr 04 15:01:14 2020
-gmtime: Sat Apr 04 15:01:14 2020
+gettimeofday: Sat Apr 4 15:01:14 2020
+time: Sat Apr 4 15:01:14 2020
+localtime: Sat Apr 4 15:01:14 2020
+gmtime: Sat Apr 4 15:01:14 2020
rtems_clock_get 15:01:19 04/04/2020
-gettimeofday: Sat Apr 04 15:01:19 2020
-time: Sat Apr 04 15:01:19 2020
-localtime: Sat Apr 04 15:01:19 2020
-gmtime: Sat Apr 04 15:01:19 2020
+gettimeofday: Sat Apr 4 15:01:19 2020
+time: Sat Apr 4 15:01:19 2020
+localtime: Sat Apr 4 15:01:19 2020
+gmtime: Sat Apr 4 15:01:19 2020
rtems_clock_get 15:01:24 04/04/2020
-gettimeofday: Sat Apr 04 15:01:24 2020
-time: Sat Apr 04 15:01:24 2020
-localtime: Sat Apr 04 15:01:24 2020
-gmtime: Sat Apr 04 15:01:24 2020
+gettimeofday: Sat Apr 4 15:01:24 2020
+time: Sat Apr 4 15:01:24 2020
+localtime: Sat Apr 4 15:01:24 2020
+gmtime: Sat Apr 4 15:01:24 2020
diff --git a/testsuites/psxtests/psxtimer/psxtimer.scn b/testsuites/psxtests/psxtimer/psxtimer.scn
index da3cbfb859..e9940d077e 100644
--- a/testsuites/psxtests/psxtimer/psxtimer.scn
+++ b/testsuites/psxtests/psxtimer/psxtimer.scn
@@ -1,37 +1,37 @@
*** POSIX Timers Test ***
-Executing task A Fri Jan 01 00:00:01 1988
-Executing task B with x = 1 Fri Jan 01 00:00:02 1988
-Executing task A Fri Jan 01 00:00:02 1988
-Executing task C with x = 1 Fri Jan 01 00:00:03 1988
-Executing task A Fri Jan 01 00:00:03 1988
-Executing task B with x = 2 Fri Jan 01 00:00:04 1988
-Executing task A Fri Jan 01 00:00:04 1988
-Executing task A Fri Jan 01 00:00:05 1988
-Executing task B with x = 3 Fri Jan 01 00:00:06 1988
-Executing task C with x = 3 Fri Jan 01 00:00:06 1988
-Executing task A Fri Jan 01 00:00:06 1988
-Executing task A Fri Jan 01 00:00:07 1988
-Executing task B with x = 4 Fri Jan 01 00:00:08 1988
-Executing task A Fri Jan 01 00:00:08 1988
-Executing task C with x = 4 Fri Jan 01 00:00:09 1988
-Executing task A Fri Jan 01 00:00:09 1988
-Executing task B with x = 5 Fri Jan 01 00:00:10 1988
-Executing task A Fri Jan 01 00:00:10 1988
-Executing task A Fri Jan 01 00:00:11 1988
-Executing task B with x = 6 Fri Jan 01 00:00:12 1988
-Executing task C with x = 6 Fri Jan 01 00:00:12 1988
-Executing task A Fri Jan 01 00:00:12 1988
-Executing task A Fri Jan 01 00:00:13 1988
-Executing task B with x = 7 Fri Jan 01 00:00:14 1988
-Executing task A Fri Jan 01 00:00:14 1988
-Executing task C with x = 7 Fri Jan 01 00:00:15 1988
-Executing task A Fri Jan 01 00:00:15 1988
-Executing task B with x = 8 Fri Jan 01 00:00:16 1988
-Executing task A Fri Jan 01 00:00:16 1988
-Executing task A Fri Jan 01 00:00:17 1988
-Executing task B with x = 9 Fri Jan 01 00:00:18 1988
-Executing task C with x = 9 Fri Jan 01 00:00:18 1988
-Executing task A Fri Jan 01 00:00:18 1988
-Executing task A Fri Jan 01 00:00:19 1988
-Executing task B with x = 10 Fri Jan 01 00:00:20 1988
+Executing task A Fri Jan 1 00:00:01 1988
+Executing task B with x = 1 Fri Jan 1 00:00:02 1988
+Executing task A Fri Jan 1 00:00:02 1988
+Executing task C with x = 1 Fri Jan 1 00:00:03 1988
+Executing task A Fri Jan 1 00:00:03 1988
+Executing task B with x = 2 Fri Jan 1 00:00:04 1988
+Executing task A Fri Jan 1 00:00:04 1988
+Executing task A Fri Jan 1 00:00:05 1988
+Executing task B with x = 3 Fri Jan 1 00:00:06 1988
+Executing task C with x = 3 Fri Jan 1 00:00:06 1988
+Executing task A Fri Jan 1 00:00:06 1988
+Executing task A Fri Jan 1 00:00:07 1988
+Executing task B with x = 4 Fri Jan 1 00:00:08 1988
+Executing task A Fri Jan 1 00:00:08 1988
+Executing task C with x = 4 Fri Jan 1 00:00:09 1988
+Executing task A Fri Jan 1 00:00:09 1988
+Executing task B with x = 5 Fri Jan 1 00:00:10 1988
+Executing task A Fri Jan 1 00:00:10 1988
+Executing task A Fri Jan 1 00:00:11 1988
+Executing task B with x = 6 Fri Jan 1 00:00:12 1988
+Executing task C with x = 6 Fri Jan 1 00:00:12 1988
+Executing task A Fri Jan 1 00:00:12 1988
+Executing task A Fri Jan 1 00:00:13 1988
+Executing task B with x = 7 Fri Jan 1 00:00:14 1988
+Executing task A Fri Jan 1 00:00:14 1988
+Executing task C with x = 7 Fri Jan 1 00:00:15 1988
+Executing task A Fri Jan 1 00:00:15 1988
+Executing task B with x = 8 Fri Jan 1 00:00:16 1988
+Executing task A Fri Jan 1 00:00:16 1988
+Executing task A Fri Jan 1 00:00:17 1988
+Executing task B with x = 9 Fri Jan 1 00:00:18 1988
+Executing task C with x = 9 Fri Jan 1 00:00:18 1988
+Executing task A Fri Jan 1 00:00:18 1988
+Executing task A Fri Jan 1 00:00:19 1988
+Executing task B with x = 10 Fri Jan 1 00:00:20 1988
*** End of POSIX Timers Test ***