Explorar o código

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 %!s(int64=14) %!d(string=hai) anos
pai
achega
3c0bedd494
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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