1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-15 10:10:21 +02:00
guile/test-suite/tests
Neil Jerram 3ed47d2203 Avoid "no duplicate" popen tests leaving zombie processes
On the one hand we want the child process in these tests to exit.  On
the other, we don't want it to exit before the parent Guile code has
tested the relevant condition (EOF in the first test, broken pipe in
the second) - because these conditions would obviously be true if the
child had already exited, and that's not what we're trying to test
here.  We're trying to test getting EOF and broken pipe while the
child process is still alive.

* test-suite/tests/popen.test (open-input-pipe:no duplicate): Add
  another pipe from parent to child, so that the child can finish by
  reading from this.  Then the parent controls the child lifetime by
  writing to this pipe.

* test-suite/tests/popen.test (open-output-pipe:no duplicate): Add
  another pipe from child to parent, and have the child finish by
  endlessly writing into this.  Then the parent controls the child
  lifetime by closing its end of the pipe, causing a broken pipe in
  the child.
2009-05-20 19:05:38 +01:00
..
c-api *** empty log message *** 2003-04-07 01:58:47 +00:00
alist.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
and-let-star.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
arbiters.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
bit-operations.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
c-api.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
chars.test Added 2006 to copyright years in every file, as per the new rules. 2006-02-12 13:42:52 +00:00
common-list.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
continuations.test * tests/eval.test (promises)[unmemoizing a promise]: New test. 2007-10-19 22:07:31 +00:00
dynamic-scope.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
elisp.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
environments.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
eval.test Add tests for the stack inspection API. 2009-03-08 22:24:50 +01:00
exceptions.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
filesys.test Delete test file after all tests have run in order to make "make 2006-05-27 22:24:24 +00:00
format.test * tests/format.test, tests/srfi-1.test: Use define-module to prevent 2006-09-22 23:52:08 +00:00
fractions.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
ftw.test New file. 2006-10-04 22:18:24 +00:00
gc.test Add hack for `gc.test' on SPARC GNU/Linux. 2008-02-15 15:59:34 +00:00
getopt-long.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
goops.test Add new GOOPS tests for built-in types. 2009-03-08 22:24:49 +01:00
guardians.test Move `guardians.test' to its own module. 2009-03-08 22:29:01 +01:00
hash.test Several new hash table tests, written by Gregory Marton. 2008-12-07 16:27:44 +00:00
hooks.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
import.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
interp.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
list.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
load.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
modules.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
multilingual.nottest merge from 1.8 branch 2006-04-16 23:37:40 +00:00
numbers.test Fix for incorrect (gcd -2) => -2; should give 2. 2008-09-22 21:18:01 +01:00
optargs.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
options.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
pairs.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
poe.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
popen.test Avoid "no duplicate" popen tests leaving zombie processes 2009-05-20 19:05:38 +01:00
ports.test (port-for-each): New test for passing freed cell, 2007-08-23 00:00:45 +00:00
posix.test Changes from arch/CVS synchronization 2007-06-07 08:44:27 +00:00
procprop.test Add test for `procedure-properties'. 2009-03-08 22:24:47 +01:00
q.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
r4rs.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
r5rs_pitfall.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
ramap.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
reader.test Symbols longer than 128 chars can cause an exception. Also, the terminating colon of long postfix keywords are not handled correctly. 2009-05-12 00:07:51 +02:00
receive.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
regexp.test Enclose `regexp.test' in a module. 2008-09-25 21:37:21 +02:00
signals.test Avoid throw from critical section, given invalid sigaction call 2009-03-25 18:53:12 +00:00
socket.test Honor $TMPDIR in the test suite. 2008-03-13 13:56:43 +00:00
sort.test (stable-sort): New test, exercising empty list 2007-01-24 23:07:51 +00:00
srcprop.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-1.test Fix type-checking of SRFI-1 `partition'. 2008-04-28 18:03:41 +02:00
srfi-4.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-6.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-9.test Changes from arch/CVS synchronization 2007-08-08 15:04:30 +00:00
srfi-10.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-11.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-13.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-14.test Changes from arch/CVS synchronization 2006-10-26 07:25:24 +00:00
srfi-17.test Changes from arch/CVS synchronization 2007-07-24 23:33:39 +00:00
srfi-19.test Revision: lcourtes@laas.fr--2006-libre/guile-core--cvs--1.8--patch-27 2007-07-09 16:49:43 +00:00
srfi-26.test * tests/srfi-26.test: New. 2004-01-21 00:45:48 +00:00
srfi-31.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-34.test Run the handler of SRFI-34's `with-exception-handler' in the right dyn. env. 2008-11-24 09:41:53 +01:00
srfi-35.test Make (srfi srfi-35)' visible through cond-expand'. 2008-04-26 21:25:51 +02:00
srfi-37.test Fix SRFI-37 `args-fold' with short option names of argument-less options. 2008-03-12 16:57:36 +00:00
srfi-39.test Run the handler of SRFI-34's `with-exception-handler' in the right dyn. env. 2008-11-24 09:41:53 +01:00
srfi-60.test (test-srfi-60): Use #:duplicates (last) to 2006-05-19 23:26:35 +00:00
srfi-69.test Changes from arch/CVS synchronization 2007-12-13 12:32:02 +00:00
srfi-88.test Add `(srfi srfi-88)'. 2008-04-26 21:25:32 +02:00
streams.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
strings.test Fix sloppy bound checking in `string-{ref,set!}' with the empty string. 2008-12-02 19:42:39 +01:00
structs.test (make-struct): Exercise the error check on tail 2007-03-07 22:14:46 +00:00
symbols.test Make `symbol->string' return a read-only string. 2008-09-23 18:39:10 +02:00
syncase.test Allow @ to work with (ice-9 syncase) 2009-02-05 22:13:19 +00:00
syntax.test Changes from arch/CVS synchronization 2007-07-18 21:37:45 +00:00
threads.test (n-par-for-each, n-for-each-par-map): New tests. 2006-05-09 00:32:31 +00:00
time.test Better diagnose broken (strftime "%z" ...)' in time.test' (bug #24130). 2009-05-12 00:01:30 +02:00
unif.test Changes from arch/CVS synchronization 2006-12-12 14:09:08 +00:00
vectors.test Changes from arch/CVS synchronization 2006-11-29 09:25:32 +00:00
version.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
weaks.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00