2001-09-15 Egor Duda * winsup.api/ltp/sbrk01.c (main): Force output at startup to make sure that stdio file buffer get allocated. * winsup.api/ltp/stat06.c (high_address_setup): On cygwin, area after sbrk(0) may be available, use 0xffff0000 as "high address". * winsup.api/ltp/symlink01.c: Perform all tests. Mark those tests that don't work on cygwin with '-1'. Close open files so that temporary directory can be deleted on exit. * winsup.api/ltp/vfork01.c: New test. 2001-09-13 Egor Duda * winsup.api/winsup.exp: Run only selected test if environment variable CYGWIN_TESTSUITE_TESTS is set. Use its value as regular expression to filter test names. * winsup.api/ltp/symlink01.c (creat_path_max): Provide explicit buffer to getcwd to conform to standards and avoid memory leak. (do_chdir): Ditto. 2001-09-13 Egor Duda * libltp/lib/tst_sig.c: Pass SIGSEGV to application to consider whether it's expected or not. * winsup.api/known_bugs.tcl: lseek10 is known to fail because mknod is not implemented. * winsup.api/ltp/rename02.c: Fix formatting. * libltp/lib/libtestsuite.c: New file. * winsup.api/signal-into-win32-api.c: New test. * winsup.api/ltp/access04.c: Ditto. * winsup.api/ltp/access05.c: Ditto. * winsup.api/ltp/alarm07.c: Ditto. * winsup.api/ltp/chdir04.c: Ditto. * winsup.api/ltp/chmod01.c: Ditto. * winsup.api/ltp/close01.c: Ditto. * winsup.api/ltp/close02.c: Ditto. * winsup.api/ltp/creat01.c: Ditto. * winsup.api/ltp/creat03.c: Ditto. * winsup.api/ltp/exit01.c: Ditto. * winsup.api/ltp/exit02.c: Ditto. * winsup.api/ltp/fchdir01.c: Ditto. * winsup.api/ltp/fchdir02.c: Ditto. * winsup.api/ltp/fork02.c: Ditto. * winsup.api/ltp/fork03.c: Ditto. * winsup.api/ltp/fork06.c: Ditto. * winsup.api/ltp/fork07.c: Ditto. * winsup.api/ltp/fork09.c: Ditto. * winsup.api/ltp/fork10.c: Ditto. * winsup.api/ltp/fork11.c: Ditto. * winsup.api/ltp/fstat02.c: Ditto. * winsup.api/ltp/fstat03.c: Ditto. * winsup.api/ltp/fstat04.c: Ditto. * winsup.api/ltp/ftruncate01.c: Ditto. * winsup.api/ltp/ftruncate02.c: Ditto. * winsup.api/ltp/ftruncate03.c: Ditto. * winsup.api/ltp/getgid02.c: Ditto. * winsup.api/ltp/getgid03.c: Ditto. * winsup.api/ltp/getpgid01.c: Ditto. * winsup.api/ltp/getpgid02.c: Ditto. * winsup.api/ltp/getpid02.c: Ditto. * winsup.api/ltp/getppid02.c: Ditto. * winsup.api/ltp/getuid02.c: Ditto. * winsup.api/ltp/getuid03.c: Ditto. * winsup.api/ltp/kill01.c: Ditto. * winsup.api/ltp/kill02.c: Ditto. * winsup.api/ltp/kill03.c: Ditto. * winsup.api/ltp/kill04.c: Ditto. * winsup.api/ltp/lseek06.c: Ditto. * winsup.api/ltp/lseek07.c: Ditto. * winsup.api/ltp/lseek08.c: Ditto. * winsup.api/ltp/lseek09.c: Ditto. * winsup.api/ltp/lseek10.c: Ditto. * winsup.api/ltp/mmap02.c: Ditto. * winsup.api/ltp/mmap03.c: Ditto. * winsup.api/ltp/mmap04.c: Ditto. * winsup.api/ltp/mmap05.c: Ditto. * winsup.api/ltp/mmap06.c: Ditto. * winsup.api/ltp/mmap07.c: Ditto. * winsup.api/ltp/mmap08.c: Ditto. * winsup.api/ltp/munmap01.c: Ditto. * winsup.api/ltp/munmap02.c: Ditto. * winsup.api/ltp/open02.c: Ditto. * winsup.api/ltp/pipe01.c: Ditto. * winsup.api/ltp/pipe08.c: Ditto. * winsup.api/ltp/pipe09.c: Ditto. * winsup.api/ltp/pipe10.c: Ditto. * winsup.api/ltp/pipe11.c: Ditto. * winsup.api/ltp/poll01.c: Ditto. * winsup.api/ltp/read04.c: Ditto. * winsup.api/ltp/readlink01.c: Ditto. * winsup.api/ltp/readlink03.c: Ditto. * winsup.api/ltp/rename01.c: Ditto. * winsup.api/ltp/rename08.c: Ditto. * winsup.api/ltp/rename10.c: Ditto. * winsup.api/ltp/rmdir01.c: Ditto. * winsup.api/ltp/stat01.c: Ditto. * winsup.api/ltp/stat02.c: Ditto. * winsup.api/ltp/stat03.c: Ditto. * winsup.api/ltp/symlink03.c: Ditto. * winsup.api/ltp/symlink04.c: Ditto. * winsup.api/ltp/symlink05.c: Ditto. * winsup.api/ltp/sync02.c: Ditto. * winsup.api/ltp/time02.c: Ditto. * winsup.api/ltp/times02.c: Ditto. * winsup.api/ltp/times03.c: Ditto. * winsup.api/ltp/truncate01.c: Ditto. * winsup.api/ltp/truncate02.c: Ditto. * winsup.api/ltp/umask02.c: Ditto. * winsup.api/ltp/umask03.c: Ditto. * winsup.api/ltp/wait401.c: Ditto. * winsup.api/ltp/wait402.c: Ditto. * winsup.api/ltp/write02.c: Ditto. * winsup.api/ltp/write03.c: Ditto. 2001-09-09 Egor Duda * winsup.api/ltp/dup03.c: New test. * winsup.api/ltp/lseek03.c: Ditto. * winsup.api/ltp/mmap001.c: Ditto. * winsup.api/ltp/read01.c: Ditto. * winsup.api/ltp/readdir01.c: Ditto. * winsup.api/ltp/rmdir05.c: Ditto. * winsup.api/ltp/sbrk01.c: Ditto. * winsup.api/ltp/select02.c: Ditto. * winsup.api/ltp/select03.c: Ditto. * winsup.api/ltp/signal03.c: Ditto. * winsup.api/ltp/stat06.c: Ditto. * winsup.api/ltp/unlink08.c: Ditto. * winsup.api/known_bugs.tcl: Update to reflect new test's known failures. * winsup.api/winsup.exp: Don't delete executable in case of unexpected pass, as well as in case of unexpected failure. * README: Update paragraph about expected failures. 2001-05-21 Corinna Vinschen * winsup.api/mmaptest01.c: Add log output. * winsup.api/mmaptest02.c: Write log output to stdout. * winsup.api/mmaptest03.c: Ditto. 2001-05-15 Corinna Vinschen * winsup.api/winsup.exp: Force linking all tests against binmode.o. 2001-04-27 Corinna Vinschen * winsup.api/mmaptest04.c: Take care for binmode explicitely. 2001-04-19 Corinna Vinschen * winsup.api/mmaptest02.c: New test. * winsup.api/mmaptest03.c: Ditto. * winsup.api/mmaptest04.c: Ditto. 2001-04-03 Corinna Vinschen * winsup.api/mmaptest01.c: New test. 2001-03-10 Egor Duda * winsup.api/ltp/access01.c: Avoid compilation error if X_OK isn't declared as a constant. 2001-03-09 Egor Duda * config/default.exp: Remove unneeded debugging output. * Makefile.in: Use correct path to find dejagnu in local tree. 2000-09-06 Egor Duda Add 'const' qualifiers where needed to avoid compiler warnings. * libltp/lib/tst_sig.c (tst_sig): Don't attempt to cleanup on fatal errors. * libltp/lib/parse_opts.c (parse_opts): Initialize allocated string to prevent heap corruption. 2000-09-04 Egor Duda * Makefile.in: Always add libltp headers directory to headers search path. 2000-09-02 Egor Duda * moved here everything from cygwin/testsuite/ * configure.in: New file * configure: New file, generated from configure.in with autoconf 2.13 * Makefile.in: New file * libltp/: New directory. Contains a support library and headers for tests in winsup.api/ltp/ * config/default.exp: Print value of CYGWIN environment variable when test completed * winsup.api/samples/xf-sample-fail.c renamed to winsup.api/samples/sample-fail.c * winsup.api/samples/xf-sample-miscompile.c renamed to winsup.api/samples/sample-miscompile.c * winsup.api/known_bugs.tcl: New file. * winsup.api/winsup.exp: Xfail test if its name is in list from known_bugs.tcl * winsup.api/winsup.exp: Don't stop if compiled test executable can't be deleted * winsup.api/winsup.exp: If in verbose mode, write test output to .log * winsup.api/ltp/: New directory. Contains cygwin port of testsuite from Linux Testing Project * winsup.api/sigchld.c: New file. Test if process recieves SIGCHLD signal when its child terminates. * winsup.api/waitpid.c: New file. Test if waitpid function works