Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
3c0bedd494
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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