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 <[EMAIL PROTECTED]>
* 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, [EMAIL PROTECTED]
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."
_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar