Changeset 78edd44 in rtems
- Timestamp:
- 11/02/99 16:38:19 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 4c1b914
- Parents:
- 3251b55
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/tests/psxtests/psxfile01/psxfile01.scn
r3251b55 r78edd44 9 9 stat of /dev/console 10 10 ....st_dev (0x0:0x0) 11 ....st_ino 3 11 ....st_ino 3 may vary by small amount 12 12 ....mode = 00020771 13 13 ....nlink = 1 … … 53 53 (10)the first write!!! 54 54 55 stat( /tmp/joel ) returned st_dev (0x0:0x0) 56 ....st_ino 10 55 stat( /tmp/joel ) returned 56 ....st_dev (0x0:0x0) 57 ....st_ino 10 may vary by small amount 57 58 ....mode = 00100700 58 59 ....nlink = 1 … … 82 83 83 84 (139743) 84 stat( /tmp/joel ) returned st_dev (0x0:0x0) 85 ....st_ino 11 85 stat( /tmp/joel ) returned 86 ....st_dev (0x0:0x0) 87 ....st_ino 11 may vary by small amount 86 88 ....mode = 00100700 87 89 ....nlink = 1 … … 94 96 stat(/tmp/j) returned -1 (errno=2) 95 97 ....st_dev (0x0:0x0) 96 ....st_ino 3 98 ....st_ino 3 may vary by small amount 97 99 ....mode = 00020771 98 100 ....nlink = 1 … … 110 112 (5) 26 characters written to the file 111 113 ....st_dev (0x0:0x0) 112 ....st_ino 12 114 ....st_ino 12 may vary by small amount 113 115 ....mode = 00100660 114 116 ....nlink = 1 … … 124 126 This is call 5 to fprintf 125 127 ....st_dev (0x0:0x0) 126 ....st_ino 12 128 ....st_ino 12 may vary by small amount 127 129 ....mode = 00100660 128 130 ....nlink = 1 … … 150 152 truncate /tmp/j to length of 40 151 153 ....st_dev (0x0:0x0) 152 ....st_ino 12 154 ....st_ino 12 may vary by small amount 153 155 ....mode = 00100660 154 156 ....nlink = 1 -
c/src/tests/psxtests/psxfile01/test.c
r3251b55 r78edd44 78 78 79 79 printf( "....st_dev (0x%x:0x%x)\n", major1, minor1 ); 80 printf( "....st_ino %x\n", buf->st_ino ); 80 printf( "....st_ino %x may vary by small amount\n", 81 (unsigned int) buf->st_ino ); 81 82 printf( "....mode = %08o\n", buf->st_mode ); 82 83 printf( "....nlink = %d\n", buf->st_nlink ); … … 113 114 printf( ": %s\n", strerror( errno ) ); 114 115 } else { 116 puts(""); 115 117 dump_statbuf( &statbuf ); 116 118 } … … 134 136 int status; 135 137 int max_size; 136 int fd , fd1;138 int fd; 137 139 int i; 138 140 struct stat buf; -
testsuites/psxtests/psxfile01/psxfile01.scn
r3251b55 r78edd44 9 9 stat of /dev/console 10 10 ....st_dev (0x0:0x0) 11 ....st_ino 3 11 ....st_ino 3 may vary by small amount 12 12 ....mode = 00020771 13 13 ....nlink = 1 … … 53 53 (10)the first write!!! 54 54 55 stat( /tmp/joel ) returned st_dev (0x0:0x0) 56 ....st_ino 10 55 stat( /tmp/joel ) returned 56 ....st_dev (0x0:0x0) 57 ....st_ino 10 may vary by small amount 57 58 ....mode = 00100700 58 59 ....nlink = 1 … … 82 83 83 84 (139743) 84 stat( /tmp/joel ) returned st_dev (0x0:0x0) 85 ....st_ino 11 85 stat( /tmp/joel ) returned 86 ....st_dev (0x0:0x0) 87 ....st_ino 11 may vary by small amount 86 88 ....mode = 00100700 87 89 ....nlink = 1 … … 94 96 stat(/tmp/j) returned -1 (errno=2) 95 97 ....st_dev (0x0:0x0) 96 ....st_ino 3 98 ....st_ino 3 may vary by small amount 97 99 ....mode = 00020771 98 100 ....nlink = 1 … … 110 112 (5) 26 characters written to the file 111 113 ....st_dev (0x0:0x0) 112 ....st_ino 12 114 ....st_ino 12 may vary by small amount 113 115 ....mode = 00100660 114 116 ....nlink = 1 … … 124 126 This is call 5 to fprintf 125 127 ....st_dev (0x0:0x0) 126 ....st_ino 12 128 ....st_ino 12 may vary by small amount 127 129 ....mode = 00100660 128 130 ....nlink = 1 … … 150 152 truncate /tmp/j to length of 40 151 153 ....st_dev (0x0:0x0) 152 ....st_ino 12 154 ....st_ino 12 may vary by small amount 153 155 ....mode = 00100660 154 156 ....nlink = 1 -
testsuites/psxtests/psxfile01/test.c
r3251b55 r78edd44 78 78 79 79 printf( "....st_dev (0x%x:0x%x)\n", major1, minor1 ); 80 printf( "....st_ino %x\n", buf->st_ino ); 80 printf( "....st_ino %x may vary by small amount\n", 81 (unsigned int) buf->st_ino ); 81 82 printf( "....mode = %08o\n", buf->st_mode ); 82 83 printf( "....nlink = %d\n", buf->st_nlink ); … … 113 114 printf( ": %s\n", strerror( errno ) ); 114 115 } else { 116 puts(""); 115 117 dump_statbuf( &statbuf ); 116 118 } … … 134 136 int status; 135 137 int max_size; 136 int fd , fd1;138 int fd; 137 139 int i; 138 140 struct stat buf;
Note: See TracChangeset
for help on using the changeset viewer.