Browse Source

tar: don't assume stdin is open when testing fd limits

* tests/extrac11.at: Redirect stdin from /dev/null, in case
the parent 'make' is running with stdin closed.
Paul Eggert 14 years ago
parent
commit
3c0bedd494
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/extrac11.at

+ 1 - 0
tests/extrac11.at

@@ -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