Commit Graph

89 Commits

Author SHA1 Message Date
Christopher Faylor 76eb619239 * cygrun.c (main): Fix exit code so that it reflects UNIX style.
* winsup.api/ltp/fork04.c (setup): Accommodate change in putenv declaration.
2005-01-10 04:13:39 +00:00
Corinna Vinschen 26657d6052 * winsup.api/mmaptest01.c (main): Accomodate 9x memory usage. 2004-08-24 09:58:16 +00:00
Corinna Vinschen 327284cf3a * winsup.api/ltp/symlink01.c (do_link): Print inode numbers using %llu
format specifier.
2004-08-24 09:34:04 +00:00
Corinna Vinschen 86b652f9c8 * devdsp.c: Outputs the names of the main test functions.
(forkrectest): Expect child success.
	(forkplaytest): Ditto.
	(syncwithchild): Output the child status and the desired value.
	(sinegenw): Reduce volume of the beep.
	(sinegenb): Ditto.
	(dup_test): New test.
2004-08-17 09:51:31 +00:00
Corinna Vinschen 7e044afdaf * winsup.api/devdsp.c (forkrectest): Move synchronization with child
so that test passes also under high CPU load.
	(forkplaytest): Ditto.
	(abortplaytest): New function to test ioctl code SNDCTL_DSP_RESET.
2004-04-13 09:40:03 +00:00
Corinna Vinschen 63481100b1 * winsup.api/devdsp.c (ioctltest): Add 2 tests for ioctl codes
SNDCTL_DSP_CHANNELS and SNDCTL_DSP_GETCAPS.
2004-04-05 08:30:13 +00:00
Corinna Vinschen e4736d89a8 * winsup.api/devdsp.c: New file, testing fhandler_dev_dsp code.
* winsup.api/devdsp_okay.h: Ditto.
2004-03-24 10:20:14 +00:00
Christopher Faylor 2942097ac2 * winsup.api/known_bugs.tcl: Remove mknod01 since mknod now works.
* winsup.api/ltp/mknod01.c: Remove root check when running on cygwin.
2004-03-07 04:51:29 +00:00
Thomas Pfaff a6435f99ea * winsup.api/pthread/mutex8e.c: New testcase.
* winsup.api/pthread/mutex8n.c: Ditto.
* winsup.api/pthread/mutex8r.c: Ditto.
2004-03-04 21:08:22 +00:00
Christopher Faylor 1f32b7b382 * winsup.api/pthread/rwlock7.c (main): Don't assume that result of rand
operation is non-zero.
2003-12-24 04:37:19 +00:00
Corinna Vinschen bd16a3a8a8 * winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10. These
tests had a compatibility bug.
	* winsup.api/ltp/fcntl09.c: Don't use F_RDLCK | F_WRLCK but only
	F_WRLCK to set a write lock.
	* winsup.api/ltp/fcntl10.c: Ditto.
2003-12-01 17:33:11 +00:00
Christopher Faylor 84f08ba160 * winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works. 2003-11-25 19:24:46 +00:00
Corinna Vinschen d26c0ff955 * winsup.api/msgtest.c (main): Revert to use the SIGSYS signal handler.
* winsup.api/semtest.c (main): Ditto.
	* winsup.api/shmtest.c (main): Ditto.
2003-11-20 18:25:36 +00:00
Corinna Vinschen 2010ab333f * winsup.api/msgtest.c: New file derived from FreeBSD, testing
XSI Message Queue support.
	* winsup.api/semtest.c: Ditto, testing XSI Semaphore support.
	* winsup.api/shmtest.c: Ditto, testing XSI Shared Memory support.
2003-11-19 18:51:18 +00:00
Christopher Faylor f346ea770f update copyright 2003-07-06 21:45:21 +00:00
Christopher Faylor 35738f040e * winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs. 2003-07-06 21:40:38 +00:00
Christopher Faylor e2723b750a * Makefile.in: Remove .dat files when cleaning. 2003-07-06 19:25:40 +00:00
Christopher Faylor d9a7d28a3f * Makefile.in: Remove .d files when cleaning. 2003-07-06 19:24:31 +00:00
Corinna Vinschen 8e67b974a9 * libltp/include/test.h: Remove gethostid declaration. 2003-05-09 20:53:22 +00:00
Thomas Pfaff e3501c78ca * winsup.api/pthread/condvar9.c: Fix test. 2003-04-08 18:29:37 +00:00
Thomas Pfaff c65b504859 * 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 19:46:35 +00:00
Thomas Pfaff 9b15aa7559 * 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-27 19:44:41 +00:00
Thomas Pfaff 4fd9bca85e * 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 20:04:24 +00:00
Thomas Pfaff 5df1410028 * winsup.api/pthread/condvar7.c: New test.
* winsup.api/pthread/condvar9.c: Ditto.
2003-03-18 19:51:58 +00:00
Thomas Pfaff 0bad7c2e26 * winsup.api/pthread/mutex1n.c: New test.
* winsup.api/pthread/mutex6n.c: Ditto.
* winsup.api/pthread/mutex7n.c: Ditto.
2003-03-18 19:42:43 +00:00
Christopher Faylor df4bf7b98c Checkin previously referred to in ChangeLog. 2003-03-12 06:28:27 +00:00
Christopher Faylor 90fec0fa7a * 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 19:46:29 +00:00
Corinna Vinschen c379f2ed07 * winsup.api/ltp/fork10.c (main): Remove non-portable declaration
of lseek.
2003-03-09 17:53:06 +00:00
Christopher Faylor 6e0465c6bc * 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-09 17:03:05 +00:00
Corinna Vinschen e463d1ac53 * winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
from list of known bugs.
2003-03-07 15:59:58 +00:00
Corinna Vinschen 1374b148ba * 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-20 11:22:17 +00:00
Christopher Faylor 9c88207cf3 * winsup.api/winsup.exp (ws_spawn): Tweak slightly to work with tcl 8.4.1. 2003-02-08 16:46:32 +00:00
Christopher Faylor 9cca06eea1 * 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-08 02:56:49 +00:00
Thomas Pfaff 53c384f206 * winsup.api/pthread/cancel11.c: New test.
* winsup.api/pthread/cancel12.c: Ditto.
2003-02-04 19:34:21 +00:00
Christopher Faylor 5da947eaca Fix typo. 2003-01-26 06:27:26 +00:00
Christopher Faylor b831fc4446 * 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-24 01:51:39 +00:00
Christopher Faylor 8e61c0495e * winsup.api/mmaptest03.c (main): Mark variables as volatile to avoid
optimization induced problems.
2003-01-24 01:41:30 +00:00
Christopher Faylor 23a30ba8d9 * Makefile (check): Add cygrun.exe dependency. 2003-01-24 01:30:43 +00:00
Christopher Faylor 31d7abadfe Perform more C warning fixup on all C source files and headers. 2003-01-24 01:09:40 +00:00
Christopher Faylor 9b978ffe8b * 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 21:21:28 +00:00
Christopher Faylor d8f0f146b8 * Makeifle.in: Use ALL_CFLAGS to build test programs so that correct libraries
and other options are used.
2003-01-23 21:14:56 +00:00
Corinna Vinschen 19876644c7 * cygrun.c: Move here from ../cygwin.
* Makefile.in: Build cygrun.exe.
	* winsup.api/winsup.exp: Expect cygrun.exe in $rootme.
2003-01-22 15:18:58 +00:00
Christopher Faylor 13afd798c3 * Makefile.in: Find tcl library in the right place. 2003-01-22 03:58:28 +00:00
Thomas Pfaff 5cd5638f57 * winsup.api/pthread/cancel9.c: Make child pid static global.
(main): Wait in mainthread until child process has terminated.
2003-01-21 21:36:31 +00:00
Thomas Pfaff f2137182fb * winsup.api/pthread/cancel9.c: Make child pid static global.
(main): Wait in mainthread until child process has terminated.
2003-01-21 21:34:24 +00:00
Thomas Pfaff 00d1a4bb20 * winsup.api/pthread/cancel9.c: Wait in mainthread until child process has terminated. 2003-01-21 20:51:14 +00:00
Thomas Pfaff ee8d419fd4 Add winsup.api/pthread/cancel10.c 2003-01-14 20:22:20 +00:00
Thomas Pfaff 17f422866a Add winsup.api/pthread/cancel9.c 2003-01-14 20:15:58 +00:00
Thomas Pfaff 35dbe79943 Add winsup.api/pthread/cancel7.c and winsup.api/pthread/cancel8.c 2003-01-14 20:09:13 +00:00
Thomas Pfaff d83b482409 Add winsup.api/pthread/cancel6.c 2003-01-14 20:03:41 +00:00