summaryrefslogtreecommitdiffstats
path: root/winsup/testsuite/winsup.api
Commit message (Collapse)AuthorAgeFilesLines
* Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout optioncygwin-2_5_2-releaseCorinna Vinschen2016-06-233-5/+0
| | | | | | | | | | | | | | Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause. Everything else stays under GPLv3+. New Linking Exception exempts resulting executables from LGPLv3 section 4. Add CONTRIBUTORS file to keep track of licensing. Remove 'Copyright Red Hat Inc' comments. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Remove spurious execute permissions from some Cygwin source and text filesJon Turney2015-10-271-0/+0
| | | | | | | | | | | | | | | | | | | 2015-08-21 Jon Turney <jon.turney@dronecode.org.uk> * cygwin-cxx.h: Remove execute permissions. * fenv.cc: Ditto. * how-startup-shutdown-works.txt: Ditto. * include/arpa/nameser.h: Ditto. * include/arpa/nameser_compat.h: Ditto. * include/fenv.h: Ditto. * include/resolv.h: Ditto. * libstdcxx_wrapper.cc: Ditto. 2015-10-27 Jon Turney <jon.turney@dronecode.org.uk> * winsup.api/signal-into-win32-api.c: Remove execute permissions. Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
* * winsup.api/user_malloc.c: New file.Corinna Vinschen2006-06-121-0/+216
|
* * winsup.api/cygload.h: Increase padding to 32768.Christopher Faylor2006-05-311-1/+1
|
* * winsup.api/checksignal.c (main): Add test for siginterrupt.Christopher Faylor2006-03-231-28/+43
|
* * cygload/README: Delete.Christopher Faylor2006-01-025-27/+856
| | | | | | | | | | | * cygload/cygload.cc: Move to winsup.api. Add comments from README. * cygload/cygload.h: Move to winsup.api. * cygload/cygload.exp: Move to winsup.api. * Makefile.in: Remove cygload. * winsup.api/winsup.exp: If a .exp file is detected, run it rather than using standard compile. * winsup.api/resethand.c (main): Use printf to print status or expect thinks something is wrong.
* * winsup.api/resethand.c (main): Remove core dump flag from exit status.Christopher Faylor2006-01-021-0/+1
|
* * winsup.api/resethand.c (main): Coerce argument to pointer to stop gccChristopher Faylor2006-01-021-1/+1
| | | | complaint.
* * winsup.api/resethand.c: Use SIGSEGV for the signal to test.Christopher Faylor2006-01-011-5/+6
|
* * winsup.api/resethand.c: New file.Christopher Faylor2006-01-011-0/+35
|
* * winsup.api/ltp/dup03.c (cleanup): Fix longstanding off-by-one error whenChristopher Faylor2005-12-111-2/+2
| | | | setting array element to -1.
* revert erroneous checkinChristopher Faylor2005-10-111-1/+0
|
* * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.Christopher Faylor2005-10-111-0/+1
|
* * winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.Christopher Faylor2005-06-114-15/+22
| | | | | | * winsup.api/pthread/mutex4.c (main): Ditto. * winsup.api/pthread/mutex5.c: Reflect change in cygwin default mutex type. * winsup.api/pthread/mutex6d.c: Ditto.
* * winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since itChristopher Faylor2005-06-101-1/+1
| | | | causes compile failures with gcc 3.4.4.
* 2005-05-17 Brian Dessent <brian@dessent.net>Brian Dessent2005-05-185-5/+5
| | | | | | | | | * winsup.api/signal-into-win32-api.c (main): Use 'NULL' instead of '0' in argument list to avoid compiler warning with gcc4. * winsup.api/ltp/execle01.c (main): Ditto. * winsup.api/ltp/execlp01.c (main): Ditto. * winsup.api/ltp/fcntl07.c (do_exec): Ditto. * winsup.api/ltp/fcntl07B.c (do_exec): Ditto.
* * winsup.api/known_bugs.tcl: Remove dup05, fcntl07B, lseek04, select03,Christopher Faylor2005-02-102-9/+31
| | | | unlink06.
* * cygrun.c (main): Fix exit code so that it reflects UNIX style.Christopher Faylor2005-01-101-1/+1
| | | | * winsup.api/ltp/fork04.c (setup): Accommodate change in putenv declaration.
* * winsup.api/mmaptest01.c (main): Accomodate 9x memory usage.Corinna Vinschen2004-08-241-1/+4
|
* * winsup.api/ltp/symlink01.c (do_link): Print inode numbers using %lluCorinna Vinschen2004-08-241-2/+2
| | | | format specifier.
* * devdsp.c: Outputs the names of the main test functions.Corinna Vinschen2004-08-171-14/+128
| | | | | | | | | (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.
* * winsup.api/devdsp.c (forkrectest): Move synchronization with childCorinna Vinschen2004-04-131-7/+40
| | | | | | so that test passes also under high CPU load. (forkplaytest): Ditto. (abortplaytest): New function to test ioctl code SNDCTL_DSP_RESET.
* * winsup.api/devdsp.c (ioctltest): Add 2 tests for ioctl codesCorinna Vinschen2004-04-051-2/+20
| | | | SNDCTL_DSP_CHANNELS and SNDCTL_DSP_GETCAPS.
* * winsup.api/devdsp.c: New file, testing fhandler_dev_dsp code.Corinna Vinschen2004-03-242-0/+1149
| | | | * winsup.api/devdsp_okay.h: Ditto.
* * winsup.api/known_bugs.tcl: Remove mknod01 since mknod now works.Christopher Faylor2004-03-072-1/+3
| | | | * winsup.api/ltp/mknod01.c: Remove root check when running on cygwin.
* * winsup.api/pthread/mutex8e.c: New testcase.Thomas Pfaff2004-03-043-0/+132
| | | | | * winsup.api/pthread/mutex8n.c: Ditto. * winsup.api/pthread/mutex8r.c: Ditto.
* * winsup.api/pthread/rwlock7.c (main): Don't assume that result of randChristopher Faylor2003-12-241-1/+2
| | | | operation is non-zero.
* * winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10. TheseCorinna Vinschen2003-12-013-1/+13
| | | | | | | 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.
* * winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.Christopher Faylor2003-11-251-1/+1
|
* * winsup.api/msgtest.c (main): Revert to use the SIGSYS signal handler.Corinna Vinschen2003-11-203-27/+3
| | | | | * winsup.api/semtest.c (main): Ditto. * winsup.api/shmtest.c (main): Ditto.
* * winsup.api/msgtest.c: New file derived from FreeBSD, testingCorinna Vinschen2003-11-193-0/+1013
| | | | | | XSI Message Queue support. * winsup.api/semtest.c: Ditto, testing XSI Semaphore support. * winsup.api/shmtest.c: Ditto, testing XSI Shared Memory support.
* * winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.Christopher Faylor2003-07-061-1/+1
|
* * winsup.api/pthread/condvar9.c: Fix test.Thomas Pfaff2003-04-081-11/+16
|
* * winsup.api/pthread/rwlock1.c: Remove pthreads-win32 header.Thomas Pfaff2003-03-276-202/+0
| | | | | | | | * 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/condvar7.c (mythread): CastThomas Pfaff2003-03-273-4/+4
| | | | | | | | 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.
* * winsup.api/pthread/rwlock1.c: New test.Thomas Pfaff2003-03-187-0/+659
| | | | | | | | | * 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.
* * winsup.api/pthread/condvar7.c: New test.Thomas Pfaff2003-03-182-0/+461
| | | | * winsup.api/pthread/condvar9.c: Ditto.
* * winsup.api/pthread/mutex1n.c: New test.Thomas Pfaff2003-03-183-0/+175
| | | | | * winsup.api/pthread/mutex6n.c: Ditto. * winsup.api/pthread/mutex7n.c: Ditto.
* Checkin previously referred to in ChangeLog.Christopher Faylor2003-03-121-1/+1
|
* * winsup.api/ltp/fork10.c (main): Remove non-portable declarationCorinna Vinschen2003-03-091-1/+0
| | | | of lseek.
* * Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-treeChristopher Faylor2003-03-091-1/+1
| | | | | | version of library or dll. * config/default.exp: Ditto. * winsup.api/winsup.exp: Ditto.
* * winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01Corinna Vinschen2003-03-071-2/+2
| | | | from list of known bugs.
* * winsup.api/crlf.c: Fix C signed/unsigned compare warning.Corinna Vinschen2003-02-2023-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * winsup.api/winsup.exp (ws_spawn): Tweak slightly to work with tcl 8.4.1.Christopher Faylor2003-02-081-1/+1
|
* * libltp/lib/parse_opts.c: Deal with C warnings.Christopher Faylor2003-02-082-2/+1
| | | | | * winsup.api/pthread/cancel12.c: Ditto. * winsup.api/winsup.exp: Don't use -g3.
* * winsup.api/pthread/cancel11.c: New test.Thomas Pfaff2003-02-042-0/+144
| | | | * winsup.api/pthread/cancel12.c: Ditto.
* * libltp/include/usctest.h: Add externs to some variables that need it.Christopher Faylor2003-01-241-1/+1
| | | | | * winsup.api/ltp/mmap05.c (main): Make file_content volatile to avoid optimization glitch.
* * winsup.api/mmaptest03.c (main): Mark variables as volatile to avoidChristopher Faylor2003-01-241-3/+3
| | | | optimization induced problems.
* Perform more C warning fixup on all C source files and headers.Christopher Faylor2003-01-24193-587/+483
|
* * libltp/include/test.h: Fix C warnings.Christopher Faylor2003-01-2316-86/+103
| | | | | | | | | | | | | | | | | | | | * 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.