bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Spurious testsuite failure


From: Andreas Schwab
Subject: [Bug-tar] Spurious testsuite failure
Date: Mon, 27 Jun 2005 11:03:54 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

The order in which directory entries are returned by readdir is usually
unrelated to the order in which they are created.

Andreas.

2005-06-27  Andreas Schwab  <address@hidden>

        * tests/pipe.at: Sort tar output.

--- tests/pipe.at.~1.3.~        2005-05-15 05:59:11.000000000 +0200
+++ tests/pipe.at       2005-06-27 11:03:33.000000000 +0200
@@ -36,7 +36,7 @@ genfile --length 10240 --pattern zeros >
 genfile --length 13 > directory/file2
 tar cf archive directory|sort 2>/dev/null
 mv directory orig
-cat archive | tar xfv -
+cat archive | tar xfv - | sort
 echo "separator"
 cmp orig/file1 directory/file1
 echo "separator"

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]