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

@@ -34,6 +34,8 @@ genfile --length 20000 > to
genfile --length 20000 > tre
genfile --length 10240 > fire
exec <&-
tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
echo separator
tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1