source: rtems/testsuites/psxtests/psxfile01/psxfile01.scn @ c94eb25

4.104.114.84.95
Last change on this file since c94eb25 was 78edd44, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 16:38:19

Minor fixes to make screen match a bit better.

  • Property mode set to 100644
File size: 4.4 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  may vary by small amount
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
56....st_dev     (0x0:0x0)
57....st_ino     10  may vary by small amount
58....mode  = 00100700
59....nlink = 1
60....uid = 0
61....gid = 0
62....atime = Sat Dec 31 09:00:00 1988
63....mtime = Sat Dec 31 09:00:00 1988
64....ctime = Sat Dec 31 09:00:00 1988
65unlink /tmp/joel
66unlink /tmp/joel
67mknod /tmp/joel
68(514)the first write!!!
69
70(513)the first write!!!
71
72(24)the first write!!!
73
74(2)the first write!!!
75
76(1)the first write!!!
77
78(0)the first write!!!
79
80(0)rst write!!!
81
82(513)the first write!!!
83
84(139743)
85stat( /tmp/joel ) returned
86....st_dev     (0x0:0x0)
87....st_ino     11  may vary by small amount
88....mode  = 00100700
89....nlink = 1
90....uid = 0
91....gid = 0
92....atime = Sat Dec 31 09:00:00 1988
93....mtime = Sat Dec 31 09:00:00 1988
94....ctime = Sat Dec 31 09:00:00 1988
95stat of /tmp/j
96stat(/tmp/j) returned -1 (errno=2)
97....st_dev     (0x0:0x0)
98....st_ino     3  may vary by small amount
99....mode  = 00020771
100....nlink = 1
101....uid = 0
102....gid = 0
103....atime = Fri Jan 01 00:00:00 1988
104....mtime = Fri Jan 01 00:00:00 1988
105....ctime = Fri Jan 01 00:00:00 1988
106fopen of /tmp/j
107fprintf to /tmp/j
108(1) 26 characters written to the file
109(2) 26 characters written to the file
110(3) 26 characters written to the file
111(4) 26 characters written to the file
112(5) 26 characters written to the file
113....st_dev     (0x0:0x0)
114....st_ino     12  may vary by small amount
115....mode  = 00100660
116....nlink = 1
117....uid = 0
118....gid = 0
119....atime = Sat Dec 31 09:00:00 1988
120....mtime = Sat Dec 31 09:00:00 1988
121....ctime = Sat Dec 31 09:00:00 1988
122This is call 1 to fprintf
123This is call 2 to fprintf
124This is call 3 to fprintf
125This is call 4 to fprintf
126This is call 5 to fprintf
127....st_dev     (0x0:0x0)
128....st_ino     12  may vary by small amount
129....mode  = 00100660
130....nlink = 1
131....uid = 0
132....gid = 0
133....atime = Sat Dec 31 09:00:01 1988
134....mtime = Sat Dec 31 09:00:00 1988
135....ctime = Sat Dec 31 09:00:00 1988
136*************** Dump of Entire IMFS ***************
137/
138....dev/
139........console (device 0, 0)
140........tty/
141............S3 (device 255, 128)
142........test_console (device 0, 0)
143....etc/
144........passwd (file 0 0x0 0x0 0x0)
145....tmp/
146........my_dir/
147........tom (file 0 0x0 0x0 0x0)
148........john (file 0 0x0 0x0 0x0)
149........joel (file 279487 0x7d58d8 0x7d5388 0x7cfe38)
150........j (file 130 0x77a338 0x0 0x0)
151***************       End of Dump        ***************
152truncate /tmp/j to length of 40
153....st_dev     (0x0:0x0)
154....st_ino     12  may vary by small amount
155....mode  = 00100660
156....nlink = 1
157....uid = 0
158....gid = 0
159....atime = Sat Dec 31 09:00:02 1988
160....mtime = Sat Dec 31 09:00:00 1988
161....ctime = Sat Dec 31 09:00:00 1988
162*************** Dump of Entire IMFS ***************
163/
164....dev/
165........console (device 0, 0)
166........tty/
167............S3 (device 255, 128)
168........test_console (device 0, 0)
169....etc/
170........passwd (file 0 0x0 0x0 0x0)
171....tmp/
172........my_dir/
173........tom (file 0 0x0 0x0 0x0)
174........john (file 0 0x0 0x0 0x0)
175........j (file 40 0x77a338 0x0 0x0)
176***************       End of Dump        ***************
177truncate /tmp/j to length of 0
178truncate /tmp to length of 0 should fail with EISDIR
179
18021: Is a directory
181*************** Dump of Entire IMFS ***************
182/
183....dev/
184........console (device 0, 0)
185........tty/
186............S3 (device 255, 128)
187........test_console (device 0, 0)
188....etc/
189........passwd (file 0 0x0 0x0 0x0)
190....tmp/
191........my_dir/
192........tom (file 0 0x0 0x0 0x0)
193........john (file 0 0x0 0x0 0x0)
194........j (file 0 0x77a338 0x0 0x0)
195***************       End of Dump        ***************
196*** END OF FILE TEST 1 ***
197
Note: See TracBrowser for help on using the repository browser.