source: rtems/testsuites/psxtests/psxfile01/psxfile01.scn @ 3f06c298

4.104.114.84.95
Last change on this file since 3f06c298 was 912f74ae, checked in by Jennifer Averett <Jennifer.Averett@…>, on 03/31/99 at 23:20:43

Modified file to match output.

  • Property mode set to 100644
File size: 4.3 KB
Line 
1
2
3*** FILE TEST 1 ***
4*************** Dump of Entire IMFS ***************
5/
6    dev/
7        console (device 0, 0)
8***************       End of Dump        ***************
9stat of /dev/console
10    st_dev     (0x0:0x0)
11    st_ino     3
12    mode  = 00020771
13    nlink = 1
14    uid = 0
15    gid = 0
16    atime = Fri Jan 01 00:00:00 1988
17    mtime = Fri Jan 01 00:00:00 1988
18    ctime = Fri Jan 01 00:00:00 1988
19
20mkdir /dev/tty
21
22mkdir /usr
23mkdir /etc
24mkdir /tmp
25mkdir /tmp/..
26mkdir /tmp/
27mkdir /j/j1
28mkdir tmp
29
30rmdir /usr
31rmdir /dev
32rmdir /fred
33mknod /dev/test_console
34mknod /dev/tty/S3
35mknod /etc/passwd
36mkdir /tmp/my_dir
37mkfifo /c/my_dir
38mkdir /etc/passwd/j
39open /tmp/joel - should fail with ENOENT
40open /tmp/j
41open returned file descriptor 3
42close /tmp/j
43close /tmp/j again
44unlink /tmp/j
45unlink /tmp
46create and close /tmp/tom
47Attempt to recreate /tmp/tom
48create /tmp/john
49tcdrain /tmp/john
50mknod /tmp/joel
51(0)the first write!!!
52
53(10)the first write!!!
54
55stat( /tmp/joel ) returned     st_dev     (0x0:0x0)
56    st_ino     10
57    mode  = 00100700
58    nlink = 1
59    uid = 0
60    gid = 0
61    atime = Sat Dec 31 09:00:00 1988
62    mtime = Sat Dec 31 09:00:00 1988
63    ctime = Sat Dec 31 09:00:00 1988
64unlink /tmp/joel
65unlink /tmp/joel
66mknod /tmp/joel
67(514)the first write!!!
68
69(513)the first write!!!
70
71(24)the first write!!!
72
73(2)the first write!!!
74
75(1)the first write!!!
76
77(0)the first write!!!
78
79(0)rst write!!!
80
81(513)the first write!!!
82
83(139743)
84stat( /tmp/joel ) returned     st_dev     (0x0:0x0)
85    st_ino     11
86    mode  = 00100700
87    nlink = 1
88    uid = 0
89    gid = 0
90    atime = Sat Dec 31 09:00:00 1988
91    mtime = Sat Dec 31 09:00:00 1988
92    ctime = Sat Dec 31 09:00:00 1988
93stat of /tmp/j
94stat(/tmp/j) returned -1 (errno=2)
95    st_dev     (0x0:0x0)
96    st_ino     3
97    mode  = 00020771
98    nlink = 1
99    uid = 0
100    gid = 0
101    atime = Fri Jan 01 00:00:00 1988
102    mtime = Fri Jan 01 00:00:00 1988
103    ctime = Fri Jan 01 00:00:00 1988
104fopen of /tmp/j
105fprintf to /tmp/j
106(1) 26 characters written to the file
107(2) 26 characters written to the file
108(3) 26 characters written to the file
109(4) 26 characters written to the file
110(5) 26 characters written to the file
111    st_dev     (0x0:0x0)
112    st_ino     12
113    mode  = 00100660
114    nlink = 1
115    uid = 0
116    gid = 0
117    atime = Sat Dec 31 09:00:00 1988
118    mtime = Sat Dec 31 09:00:00 1988
119    ctime = Sat Dec 31 09:00:00 1988
120This is call 1 to fprintf
121This is call 2 to fprintf
122This is call 3 to fprintf
123This is call 4 to fprintf
124This is call 5 to fprintf
125    st_dev     (0x0:0x0)
126    st_ino     12
127    mode  = 00100660
128    nlink = 1
129    uid = 0
130    gid = 0
131    atime = Sat Dec 31 09:00:01 1988
132    mtime = Sat Dec 31 09:00:00 1988
133    ctime = Sat Dec 31 09:00:00 1988
134*************** Dump of Entire IMFS ***************
135/
136    dev/
137        console (device 0, 0)
138        tty/
139            S3 (device 255, 128)
140        test_console (device 0, 0)
141    etc/
142        passwd (file 0 0x0 0x0 0x0)
143    tmp/
144        my_dir/
145        tom (file 0 0x0 0x0 0x0)
146        john (file 0 0x0 0x0 0x0)
147        joel (file 279487 0x7d58d8 0x7d5388 0x7cfe38)
148        j (file 130 0x77a338 0x0 0x0)
149***************       End of Dump        ***************
150truncate /tmp/j to length of 40
151    st_dev     (0x0:0x0)
152    st_ino     12
153    mode  = 00100660
154    nlink = 1
155    uid = 0
156    gid = 0
157    atime = Sat Dec 31 09:00:02 1988
158    mtime = Sat Dec 31 09:00:00 1988
159    ctime = Sat Dec 31 09:00:00 1988
160*************** Dump of Entire IMFS ***************
161/
162    dev/
163        console (device 0, 0)
164        tty/
165            S3 (device 255, 128)
166        test_console (device 0, 0)
167    etc/
168        passwd (file 0 0x0 0x0 0x0)
169    tmp/
170        my_dir/
171        tom (file 0 0x0 0x0 0x0)
172        john (file 0 0x0 0x0 0x0)
173        j (file 40 0x77a338 0x0 0x0)
174***************       End of Dump        ***************
175truncate /tmp/j to length of 0
176truncate /tmp to length of 0 should fail with EISDIR
177
17821: Is a directory
179*************** Dump of Entire IMFS ***************
180/
181    dev/
182        console (device 0, 0)
183        tty/
184            S3 (device 255, 128)
185        test_console (device 0, 0)
186    etc/
187        passwd (file 0 0x0 0x0 0x0)
188    tmp/
189        my_dir/
190        tom (file 0 0x0 0x0 0x0)
191        john (file 0 0x0 0x0 0x0)
192        j (file 0 0x77a338 0x0 0x0)
193***************       End of Dump        ***************
194*** END OF FILE TEST 1 ***
195
Note: See TracBrowser for help on using the repository browser.