2003-07-06 Christopher Faylor * Makefile.in: Remove .d files when cleaning. 2003-05-09 Corinna Vinschen * libltp/include/test.h: Remove gethostid declaration. 2003-04-08 Thomas Pfaff * winsup.api/pthread/condvar9.c: Fix test. 2003-03-27 Thomas Pfaff * winsup.api/pthread/rwlock1.c: Remove pthreads-win32 header. * winsup.api/pthread/rwlock2.c: Ditto. * winsup.api/pthread/rwlock3.c: Ditto. * winsup.api/pthread/rwlock4.c: Ditto. * winsup.api/pthread/rwlock5.c: Ditto. * winsup.api/pthread/rwlock6.c: Ditto. 2003-03-27 Brian Ford * winsup.api/pthread/condvar7.c (mythread): Cast pthread_mutex_unlock argument of pthread_cleanup_push to void *, preventing a compiler warning / testsuite failure. * winsup.api/pthread/condvar9.c (mythread): Likewise. * winsup.api/pthread/rwlock7.c (main): Use ftime instead of _ftime. 2003-03-18 Thomas Pfaff * winsup.api/pthread/rwlock1.c: New test. * winsup.api/pthread/rwlock2.c: Ditto. * winsup.api/pthread/rwlock3.c: Ditto. * winsup.api/pthread/rwlock4.c: Ditto. * winsup.api/pthread/rwlock5.c: Ditto. * winsup.api/pthread/rwlock6.c: Ditto. * winsup.api/pthread/rwlock7.c: Ditto. 2003-03-18 Thomas Pfaff * winsup.api/pthread/condvar7.c: New test. * winsup.api/pthread/condvar9.c: Ditto. 2003-03-18 Thomas Pfaff * winsup.api/pthread/mutex1n.c: New test. * winsup.api/pthread/mutex6n.c: Ditto. * winsup.api/pthread/mutex7n.c: Ditto. 2003-03-09 Christopher Faylor * winsup.api/winsup.exp: Use -nostdinc when compiling. * Makefile.in: Specifically search compiler include directory since it is now stripped via -nostdinc. 2003-03-09 Corinna Vinschen * winsup.api/ltp/fork10.c (main): Remove non-portable declaration of lseek. 2003-03-09 Christopher Faylor * Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree version of library or dll. * config/default.exp: Ditto. * winsup.api/winsup.exp: Ditto. 2003-03-07 Corinna Vinschen * winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01 from list of known bugs. 2003-02-19 Vaclav Haisman * winsup.api/crlf.c: Fix C signed/unsigned compare warning. * winsup.api/mmaptest01.c: Ditto. * winsup.api/ltp/chmod01.c: Ditto. * winsup.api/ltp/fork04.c: Ditto. * winsup.api/ltp/lseek03.c: Ditto. * winsup.api/ltp/lseek06.c: Ditto. * winsup.api/ltp/lseek07.c: Ditto. * winsup.api/ltp/lseek08.c: Ditto. * winsup.api/ltp/mmap001.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/pipe11.c: Ditto. * winsup.api/ltp/poll01.c: Ditto. * winsup.api/ltp/sync02.c: Ditto. * winsup.api/ltp/times03.c: Ditto. * winsup.api/ltp/umask03.c: Ditto. * winsup.api/ltp/getpgid01.c: Remove unused obsolete include. * winsup.api/ltp/getpgid02.c: Ditto. 2003-02-08 Christopher Faylor * winsup.api/winsup.exp (ws_spawn): Tweak slightly to work with tcl 8.4.1. 2003-02-07 Christopher Faylor * libltp/lib/parse_opts.c: Deal with C warnings. * winsup.api/pthread/cancel12.c: Ditto. * winsup.api/winsup.exp: Don't use -g3. 2003-02-04 Thomas Pfaff * winsup.api/pthread/cancel11.c: New test. * winsup.api/pthread/cancel12.c: Ditto. 2003-01-23 Christopher Faylor * Makefile.in: Don't filter out -g. Actually pass correct CFLAGS to site.exp. * winsup.api/winsup.exp: Use -g flag from CFLAGS. 2003-01-23 Christopher Faylor * Makefile.in: Turn off all optimizations. * libltp/lib/parse_opts.c (TEST_VALID_ENO): Move define outside of conditional. (TEST_ERRNO): Ditto. (btime): Ditto. (etime): Ditto. (tmptime): Ditto. 2003-01-23 Christopher Faylor * libltp/include/usctest.h: Add externs to some variables that need it. * winsup.api/ltp/mmap05.c (main): Make file_content volatile to avoid optimization glitch. 2003-01-23 Christopher Faylor * winsup.api/mmaptest03.c (main): Mark variables as volatile to avoid optimization induced problems. 2003-01-23 Christopher Faylor * Makefile (check): Add cygrun.exe dependency. 2003-01-23 Christopher Faylor Perform more C warning fixup on all C source files and headers. 2003-01-23 Christopher Faylor * libltp/include/test.h: Fix C warnings. * winsup.api/checksignal.c: Ditto. * winsup.api/crlf.c: Ditto. * winsup.api/devzero.c: Ditto. * winsup.api/iospeed.c: Ditto. * winsup.api/mmaptest01.c: Ditto. * winsup.api/mmaptest02.c: Ditto. * winsup.api/mmaptest03.c: Ditto. * winsup.api/mmaptest04.c: Ditto. * winsup.api/nullgetcwd.c: Ditto. * winsup.api/sigchld.c: Ditto. * winsup.api/signal-into-win32-api.c: Ditto. * winsup.api/systemcall.c: Ditto. * winsup.api/waitpid.c: Ditto. * winsup.api/pthread/mainthreadexits.c: Ditto. * winsup.api/pthread/test.h: Ditto. * winsup.api/pthread/threadidafterfork.c: Ditto. * Makefile.in: Remove cygrun.exe from RUNTIME since it is built here now. 2003-01-23 Christopher Faylor * Makefile.in: Use ALL_CFLAGS to build test programs so that correct libraries and other options are used. 2003-01-22 Corinna Vinschen * cygrun.c: Move here from ../cygwin. * Makefile.in: Build cygrun.exe. * winsup.api/winsup.exp: Expect cygrun.exe in $rootme. 2003-01-21 Christopher Faylor * Makefile.in: Find tcl library in the right place. 2003-01-21 Thomas Pfaff * winsup.api/pthread/cancel9.c: Make child pid static global. (main): Wait in mainthread until child process has terminated. 2003-01-14 Thomas Pfaff * winsup.api/pthread/cancel10.c: New test. 2003-01-14 Thomas Pfaff * winsup.api/pthread/cancel9.c: New test. 2003-01-14 Thomas Pfaff * winsup.api/pthread/cancel7.c: New test. * winsup.api/pthread/cancel8.c: Ditto. 2003-01-14 Thomas Pfaff * winsup.api/pthread/cancel6.c: New test. 2003-01-09 Thomas Pfaff * winsup.api/pthread/mutex1d.c: New test. Port from pthreads-win32 project. * winsup.api/pthread/mutex1e.c: Ditto. * winsup.api/pthread/mutex4.c: Ditto. * winsup.api/pthread/mutex5.c: Ditto. * winsup.api/pthread/mutex6d.c: Ditto. * winsup.api/pthread/mutex6e.c: Ditto. * winsup.api/pthread/mutex7.c: Ditto. * winsup.api/pthread/mutex7d.c: Ditto. * winsup.api/pthread/mutex7e.c: Ditto. * winsup.api/pthread/mutex7r.c: Ditto. 2002-11-25 Robert Collins * readme: Document running portions of the test suite (Thanks Egor!). * winsup.api/pthread/mainthreadexits.c: New file, derived from Thomas Pfaff's test cases. * winsup.api/pthread/threadidafterfork.c: Ditto. 2002-08-25 Christopher Faylor * Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, where appropriate. * winsup.api/winsup.exp: Use -nodefaultlibs when linking executable to avoid potentially linking installed dll. 2002-07-06 Christopher Faylor * testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h will be found. 2002-07-04 Egor Duda * winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32 project. * winsup.api/pthread/cancel2.c: Ditto. * winsup.api/pthread/cancel3.c: Ditto. * winsup.api/pthread/cancel4.c: Ditto. * winsup.api/pthread/cancel5.c: Ditto. 2002-07-03 Christopher Faylor * Makefile.in: Eliminate unneeded Makefile recreation rule. 2002-02-27 Christopher Faylor * winsup.api/systemcall.c (main): Ensure that stdin is redirected. 2001-11-18 Egor Duda * winsup.api/pthread/condvar3_1.c: Fix debugging output. 2001-11-15 Egor Duda * winsup.api/pthread/: New directory. Ports of pthread functionality tests from pthreads-win32 project. * winsup.api/pthread/test.h: Commmon declaraions for pthread tests. * winsup.api/pthread/cleanup2.c: New test. * winsup.api/pthread/cleanup3.c: Ditto. * winsup.api/pthread/condvar1.c: Ditto. * winsup.api/pthread/condvar2.c: Ditto. * winsup.api/pthread/condvar2_1.c: Ditto. * winsup.api/pthread/condvar3.c: Ditto. * winsup.api/pthread/condvar3_1.c: Ditto. * winsup.api/pthread/condvar3_2.c: Ditto. * winsup.api/pthread/condvar3_3.c: Ditto. * winsup.api/pthread/condvar4.c: Ditto. * winsup.api/pthread/condvar5.c: Ditto. * winsup.api/pthread/condvar6.c: Ditto. * winsup.api/pthread/condvar8.c: Ditto. * winsup.api/pthread/count1.c: Ditto. * winsup.api/pthread/create1.c: Ditto. * winsup.api/pthread/create2.c: Ditto. * winsup.api/pthread/equal1.c: Ditto. * winsup.api/pthread/exit1.c: Ditto. * winsup.api/pthread/exit2.c: Ditto. * winsup.api/pthread/exit3.c: Ditto. * winsup.api/pthread/inherit1.c: Ditto. * winsup.api/pthread/join0.c: Ditto. * winsup.api/pthread/join1.c: Ditto. * winsup.api/pthread/join2.c: Ditto. * winsup.api/pthread/mutex1.c: Ditto. * winsup.api/pthread/mutex1r.c: Ditto. * winsup.api/pthread/mutex2.c: Ditto. * winsup.api/pthread/mutex3.c: Ditto. * winsup.api/pthread/mutex6r.c: Ditto. * winsup.api/pthread/once1.c: Ditto. * winsup.api/pthread/priority1.c: Ditto. * winsup.api/pthread/priority2.c: Ditto. * winsup.api/pthread/self1.c: Ditto. * winsup.api/pthread/self2.c: Ditto. * winsup.api/pthread/tsd1.c: Ditto. 2001-11-08 Corinna Vinschen * checksignal.c: New testcase. 2001-11-04 Christopher Faylor * Makefile.in: Oops. Revert previous change. Add Makefile/Makefile.in dependency. 2001-11-04 Christopher Faylor * Makefile.in: Add check target. 2001-11-02 Egor Duda * libltp/lib/forker.c: Include proper header to avoid compiler warning. 2001-10-29 Egor Duda * winsup.api/ltp/stat03.c: Supress compiler warning. 2001-10-29 Egor Duda * winsup.api/signal-into-win32-api.c: Supress compiler warning. Mon Oct 8 14:15:00 2001 Corinna Vinschen * winsup.api/mmaptest01.c: Add several tests on mmaps. Use libltp. * winsup.api/winsup.exp: Link all tests agains libltp. Fri Oct 5 11:15:55 2001 Christopher Faylor * winsup.api/nullgetcwd.c: New file. Check that NULL first argument to getcwd works. Thu Oct 4 22:47:51 2001 Christopher Faylor * winsup.api/systemcall.c (main): Change some messages for clarity. Thu Oct 4 22:19:39 2001 Christopher Faylor * winsup.api/systemcall.c: New file. Check for system call problems. 2001-09-20 Egor Duda * libltp/lib/get_high_address.c (get_high_address): Get inaccessible address more robustly. * winsup.api/ltp/stat06.c (high_address_setup): Use generic function from ltp library to obtain inaccessible address. 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