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@…>

  • Makefile.am, configure.ac, psx01/Makefile.am, psx02/Makefile.am, psx03/Makefile.am, psx04/Makefile.am, psx05/Makefile.am, psx06/Makefile.am, psx07/Makefile.am, psx08/Makefile.am, psx09/Makefile.am, psx10/Makefile.am, psx11/Makefile.am, psx12/Makefile.am, psx13/Makefile.am, psx14/Makefile.am, psxalarm01/Makefile.am, psxautoinit01/Makefile.am, psxautoinit02/Makefile.am, psxbarrier01/Makefile.am, psxcancel/Makefile.am, psxcancel01/Makefile.am, psxchroot01/Makefile.am, psxcleanup/Makefile.am, psxcleanup01/Makefile.am, psxclock/Makefile.am, psxcond01/Makefile.am, psxenosys/Makefile.am, psxfatal01/Makefile.am, psxfatal02/Makefile.am, psxfile01/Makefile.am, psxfile02/init.c, psxfile02/psxfile02.doc, psxfile02/psxfile02.scn, psxintrcritical01/Makefile.am, psxitimer/Makefile.am, psxkey01/Makefile.am, psxkey02/Makefile.am, psxkey03/Makefile.am, psxmount/Makefile.am, psxmsgq01/Makefile.am, psxmsgq02/Makefile.am, psxmsgq03/Makefile.am, psxmsgq04/Makefile.am, psxmutexattr01/Makefile.am, psxobj01/Makefile.am, psxpasswd01/Makefile.am, psxrdwrv/Makefile.am, psxreaddir/Makefile.am, psxrwlock01/Makefile.am, psxsem01/Makefile.am, psxsignal01/Makefile.am, psxsignal02/Makefile.am, psxsignal03/Makefile.am, psxsignal04/Makefile.am, psxsignal05/Makefile.am, psxspin01/Makefile.am, psxspin02/Makefile.am, psxstack01/Makefile.am, psxstat/Makefile.am, psxsysconf/Makefile.am, psxtime/Makefile.am, psxtimer01/Makefile.am, psxtimer02/Makefile.am, psxualarm/Makefile.am, psxusleep/Makefile.am: Add test for fd greater than number of file descriptors configured.
  • Property mode set to 100644
File size: 1.1 KB
Line 
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
26
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.