X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fpipe.at;h=efca65b19a83dd66807ba12ed8a822961bfdb224;hb=e496c1b52955887eb0a7544eb621e896c989c6ac;hp=07e4d8d45abfb6a45612e70bb099f92bf7347ba5;hpb=c576ac13546720469c0e2fa2b545f58131f932bc;p=chaz%2Ftar diff --git a/tests/pipe.at b/tests/pipe.at index 07e4d8d..efca65b 100644 --- a/tests/pipe.at +++ b/tests/pipe.at @@ -1,11 +1,11 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) +# the Free Software Foundation; either version 3, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, @@ -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"