source: rtems/testsuites/psxtests/psxfile02/psxfile02.scn

Last change on this file was e6e4eec, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 23, 2010 at 10:48:44 PM

2010-06-23 Joel Sherrill <joel.sherrilL@…>

  •,, psx01/, psx02/, psx03/, psx04/, psx05/, psx06/, psx07/, psx08/, psx09/, psx10/, psx11/, psx12/, psx13/, psx14/, psxalarm01/, psxautoinit01/, psxautoinit02/, psxbarrier01/, psxcancel/, psxcancel01/, psxchroot01/, psxcleanup/, psxcleanup01/, psxclock/, psxcond01/, psxenosys/, psxfatal01/, psxfatal02/, psxfile01/, psxfile02/init.c, psxfile02/psxfile02.doc, psxfile02/psxfile02.scn, psxintrcritical01/, psxitimer/, psxkey01/, psxkey02/, psxkey03/, psxmount/, psxmsgq01/, psxmsgq02/, psxmsgq03/, psxmsgq04/, psxmutexattr01/, psxobj01/, psxpasswd01/, psxrdwrv/, psxreaddir/, psxrwlock01/, psxsem01/, psxsignal01/, psxsignal02/, psxsignal03/, psxsignal04/, psxsignal05/, psxspin01/, psxspin02/, psxstack01/, psxstat/, psxsysconf/, psxtime/, psxtimer01/, psxtimer02/, psxualarm/, psxusleep/ Add test for fd greater than number of file descriptors configured.
  • Property mode set to 100644
File size: 1.1 KB
1*** PSXFILE02 TEST  ***
2mkdir /tmp
3open /tmp/j
4open returned file descriptor 3
5close /tmp/j
6ftruncate an unopened file
79: Bad file number
8_fcntl_r unopened file
99: Bad file number
10fdatasync unopened file
119: Bad file number
12fstat unopened file
139: Bad file number
14fsync unopened file
159: Bad file number
16ioctl unopened file
179: Bad file number
18_lseek_r unopened file
199: Bad file number
20readv unopened file
219: Bad file number
22writev unopened file
239: Bad file number
24write unopened file
259: Bad file number
27ftruncate a too large file descriptor
289: Bad file number
29_fcntl_r a too large file descriptor
309: Bad file number
31fdatasync a too large file descriptor
329: Bad file number
33fstat a too large file descriptor
349: Bad file number
35fsync a too large file descriptor
369: Bad file number
37ioctl a too large file descriptor
389: Bad file number
39_lseek_r a too large file descriptor
409: Bad file number
41readv a too large file descriptor
429: Bad file number
43writev a too large file descriptor
449: Bad file number
45write a too large file descriptor
469: Bad file number
47*** END OF PSXFILE02 TEST  ***
Note: See TracBrowser for help on using the repository browser.