]> Dogcows Code - chaz/tar/commitdiff
tar: don't assume stdin is open when testing fd limits
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Oct 2010 18:33:23 +0000 (11:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Oct 2010 18:33:38 +0000 (11:33 -0700)
* tests/extrac11.at: Redirect stdin from /dev/null, in case
the parent 'make' is running with stdin closed.

tests/extrac11.at

index 9456695a49387dc3a60713e4748078d59b8b9424..f7ba587202b5ed60ed75904849f0e2f7dca9e2c5 100644 (file)
@@ -24,6 +24,7 @@ AT_SETUP([scarce file descriptors])
 AT_KEYWORDS([extract extrac11])
 
 AT_TAR_CHECK([
+exec </dev/null
 dirs='a
       a/b
       a/b/c
This page took 0.026381 seconds and 4 git commands to generate.