X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fpipe.at;h=c557b29a1e0bc3016af9b657986b23f40887f7e6;hb=c9195c75be84b39d736ec870f29bc09231c5a204;hp=07e4d8d45abfb6a45612e70bb099f92bf7347ba5;hpb=c576ac13546720469c0e2fa2b545f58131f932bc;p=chaz%2Ftar diff --git a/tests/pipe.at b/tests/pipe.at index 07e4d8d..c557b29 100644 --- a/tests/pipe.at +++ b/tests/pipe.at @@ -31,12 +31,14 @@ AT_SETUP([decompressing from stdin]) AT_KEYWORDS([pipe]) AT_TAR_CHECK([ +AT_SORT_PREREQ + mkdir directory genfile --length 10240 --pattern zeros --file directory/file1 genfile --length 13 --file directory/file2 -tar cf archive directory|sort 2>/dev/null +tar cf archive directory|sort mv directory orig -cat archive | tar xfv - | sort 2>/dev/null +cat archive | tar xfv - | sort echo "separator" cmp orig/file1 directory/file1 echo "separator"