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.
This commit is contained in:
Paul Eggert
2010-10-26 11:33:23 -07:00
parent c520964e84
commit 3c0bedd494

View 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