Close stdin so that if something fails causing tar to ask for the next volume, it won't hang the testsuite.

This commit is contained in:
Sergey Poznyakoff
2005-11-11 12:17:38 +00:00
parent b5775215d7
commit c81a5e8bf5
7 changed files with 10 additions and 1 deletions

View File

@@ -43,6 +43,8 @@ EOF
genfile --length 15360 > $AFILE
exec <&-
tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
tar -tM -f arch.1 -f arch.2 || exit 1