PR 1623/testing
* psx13/test.c, psx13/psx13.scn: New cases to improve coverage of
utime() and fpathconf().
* psxfile01/test.c, psxfile01/psxfile01.scn: New cases to improve
coverage of rmdir(), unlink(), mknod(), link(), open(), read(),
write().
* psxstat/test.c, psxstat/psxstat.scn: New case to improve
coverage of readlink().
PR 1617/testing
* psxfile01/test.c, psxfile01/psxfile01.scn: Added new cases to
exercise_link_r and _unlink_r
* psxstat/test.c, psxstat/psxstat.scn: Added new cases to exercise
_lstat_r and _stat_r.
* psxtime/test.c, psxtime/psxtime.scn: Added new cases to exercise
_gettimeofday.
PR 1613/testing
* psxfchx01/init.c, psxfchx01/Makefile.am, psxfchx01/.cvsignore,
psxfchx01/psxfchx01.doc, psxfchx01/psxfchx01.scn: New
tests. Improves coverage of fchdir, fchmod, fchown directives.
* configure.ac, Makefile.am: Changes to accommodate new test.
* psxstat/test.c, psxstat/psxstat.scn: Added new test case to test
statvfs routine under libcsupport.
* psxfile01/test.c, psxstat/test.c, psxtime/test.c: Eliminate test
routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new
rtems_clock_get_ticks_per_second().
* psxstat/psxstat.scn, psxstat/test.c: Disable test for error on wrong
mode bits being set. This behavior was not POSIX compliant and has
been corrected in the filesystem code.
* include/pmacros.h, psx01/init.c, psx01/system.h, psx13/main.c,
psxbarrier01/main.c, psxchroot01/main.c, psxfatal_support/init.c,
psxfile01/main.c, psxfile01/test.c, psxmount/main.c, psxrdwrv/main.c,
psxreaddir/main.c, psxrwlock01/main.c, psxspin01/main.c,
psxstat/main.c, psxtime/main.c: Change TEST_INIT to CONFIGURE_INIT.
Make tmacros.h available to all POSIX tests. Add a clock_settime case
for < 1988.
* psx02/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx03/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx04/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx05/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx06/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx07/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx08/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx09/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx10/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx11/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx12/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx13/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxcancel/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxchroot01/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxfile01/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxmount/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxmsgq01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxreaddir/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxsem01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxstat/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxtime/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxtimer/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxcancel/init.c: Include <rtems/console.h> instead of <console.h>.
* psxmount/test.c: Include <rtems/imfs.h> instead of <imfs.h>.
* psxreaddir/test.c: Include <rtems/imfs.h> instead of <imfs.h>.
* psxstat/test.c: Include <rtems/imfs.h> instead of <imfs.h>.
Makefile.am: Reflect having moved automake.
include/Makefile.am: Reflect having moved automake.
psx01/Makefile.am: Reflect having moved automake.
psx02/Makefile.am: Reflect having moved automake.
psx03/Makefile.am: Reflect having moved automake.
psx04/Makefile.am: Reflect having moved automake.
psx05/Makefile.am: Reflect having moved automake.
psx06/Makefile.am: Reflect having moved automake.
psx07/Makefile.am: Reflect having moved automake.
psx08/Makefile.am: Reflect having moved automake.
psx09/Makefile.am: Reflect having moved automake.
psx10/Makefile.am: Reflect having moved automake.
psx11/Makefile.am: Reflect having moved automake.
psx12/Makefile.am: Reflect having moved automake.
psx13/Makefile.am: Reflect having moved automake.
psxcancel/Makefile.am: Reflect having moved automake.
psxchroot01/Makefile.am: Reflect having moved automake.
psxfile01/Makefile.am: Reflect having moved automake.
psxhdrs/Makefile.am: Reflect having moved automake.
psxmount/Makefile.am: Reflect having moved automake.
psxmsgq01/Makefile.am: Reflect having moved automake.
psxreaddir/Makefile.am: Reflect having moved automake.
psxsem01/Makefile.am: Reflect having moved automake.
psxstat/Makefile.am: Reflect having moved automake.
psxtime/Makefile.am: Reflect having moved automake.
psxtimer/Makefile.am: Reflect having moved automake.
* psx01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx02/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx03/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx04/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx05/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx06/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx07/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx08/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx09/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx10/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx11/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx12/Makefile.am: Use .$(OBJEXT) instead of .o.
* psx13/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxcancel/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxchroot01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxfile01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxhdrs/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxmount/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxmsgq01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxreaddir/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxsem01/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxstat/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxtime/Makefile.am: Use .$(OBJEXT) instead of .o.
* psxtimer/Makefile.am: Use .$(OBJEXT) instead of .o.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* include/pmacros.h, psx01/task.c, psx02/init.c, psx02/task.c,
psx03/init.c, psx04/init.c, psx05/init.c, psx06/init.c, psx07/init.c,
psx08/task3.c, psx09/init.c, psx10/init.c, psx11/init.c,
psx12/init.c, psx13/Makefile.am, psx13/main.c, psx13/test.c,
psxcancel/init.c, psxchroot01/Makefile.am, psxchroot01/main.c,
psxchroot01/test.c, psxfile01/Makefile.am, psxfile01/main.c,
psxfile01/test.c, psxfile01/test_cat.c, psxfile01/test_extend.c,
psxfile01/test_write.c, psxmount/Makefile.am, psxmount/main.c,
psxmount/test.c, psxmsgq01/init.c, psxreaddir/Makefile.am,
psxreaddir/main.c, psxreaddir/test.c, psxsem01/init.c,
psxstat/Makefile.am, psxstat/main.c, psxstat/test.c, psxtime/main.c,
psxtime/test.c, psxtimer/psxtimer.c: Modified.
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
* psxstat/test.c: Fix test ENOTDIR to correspond to chdir() change.
Since we check permissions before evaluating enough to see if it
a regular file or directory, this hack is needed to make the regular
file executable.
* psx01/Makefile.am: include leaf.am instead of leaf.cfg.
* psx11/Makefile.am: include leaf.am instead of leaf.cfg.
* psxcancel/Makefile.am: include leaf.am instead of leaf.cfg.
* psx02/Makefile.am: include leaf.am instead of leaf.cfg.
* psx13/Makefile.am: include leaf.am instead of leaf.cfg.
* psxtime/Makefile.am: include leaf.am instead of leaf.cfg.
* psxchroot01/Makefile.am: include leaf.am instead of leaf.cfg.
* psx07/Makefile.am: include leaf.am instead of leaf.cfg.
* psxmsgq01/Makefile.am: include leaf.am instead of leaf.cfg.
* psxtimer/Makefile.am: include leaf.am instead of leaf.cfg.
* psx10/Makefile.am: include leaf.am instead of leaf.cfg.
* psx08/Makefile.am: include leaf.am instead of leaf.cfg.
* psxhdrs/Makefile.am: include leaf.am instead of leaf.cfg.
* psxfile01/Makefile.am: include leaf.am instead of leaf.cfg.
* psx05/Makefile.am: include leaf.am instead of leaf.cfg.
* psx09/Makefile.am: include leaf.am instead of leaf.cfg.
* psxmount/Makefile.am: include leaf.am instead of leaf.cfg.
* psxstat/Makefile.am: include leaf.am instead of leaf.cfg.
* psx12/Makefile.am: include leaf.am instead of leaf.cfg.
* psxreaddir/Makefile.am: include leaf.am instead of leaf.cfg.
* psxsem01/Makefile.am: include leaf.am instead of leaf.cfg.
* psx03/Makefile.am: include leaf.am instead of leaf.cfg.
* psx04/Makefile.am: include leaf.am instead of leaf.cfg.
* psx06/Makefile.am: include leaf.am instead of leaf.cfg.
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
expected error condition in one case.
* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
readdir() of root of mounted filesystem. Also corrected the screen
file for some mistakes noticed in this effort.