Hi,

tar 1.15.91 "make check" fails for me, on Linux/x86.
(I reported the same failure already for tar-1.15.90 on 2006-03-03.)
Relevant excerpt from testsuite.log:


## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

45. shortrec.at:25: testing ...
shortrec.at:37:
mkdir v7
(cd v7
TEST_TAR_FORMAT=v7
export TEST_TAR_FORMAT
TAR_OPTIONS="-H v7"
export TAR_OPTIONS
rm -rf *

mkdir directory
(cd directory && touch a b c d e f g h i j k l m n o p q r)
tar -c -b 1 directory | tar -t >/dev/null
tar -c -b 1 -f archive directory
tar -t -f archive >/dev/null
tar -t -f - < archive >/dev/null

rm -r directory
)
--- /dev/null   2003-09-23 19:59:22.000000000 +0200
+++ /build/tar-1.15.91/tests/testsuite.dir/at-stderr    2006-06-21 
00:21:14.000000000 +0200
@@ -0,0 +1,4 @@
+tar: /dev/fd0: Cannot open: No such device or address
+tar: Error is not recoverable: exiting now
+tar: /dev/fd0: Cannot open: No such device or address
+tar: Error is not recoverable: exiting now
45. shortrec.at:25: 45. short records (shortrec.at:25): FAILED (shortrec.at:37)


Where does the /dev/fd0 come from?
$ echo $TAPE
/dev/fd0

Probably you should unset the TAPE variable at the beginning of the test.

Bruno


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to