X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fpipe.at;h=833e1342992811cd852985596fc2ed1bdfd88e6d;hb=be34933b638b75a40513ea2b724c756b1f8e3b85;hp=be992126288bb6ae8a9f2a8dc67b201719e4e96b;hpb=8f390db92fc5890c824db9ebfa295a8a27d7251a;p=chaz%2Ftar diff --git a/tests/pipe.at b/tests/pipe.at index be99212..833e134 100644 --- a/tests/pipe.at +++ b/tests/pipe.at @@ -1,7 +1,8 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2006, 2007, 2008, +# 2009 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 @@ -30,16 +31,15 @@ AT_SETUP([decompressing from stdin]) AT_KEYWORDS([pipe]) -AT_TAR_WITH_HOOK([TAR_IGNREC_HOOK], -[AT_TAR_CHECK([ +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 +tar cf archive directory mv directory orig -cat archive | tar xfv - | sort +cat archive | tar xfv - | sort echo "separator" cmp orig/file1 directory/file1 echo "separator" @@ -50,7 +50,6 @@ directory/file1 directory/file2 separator separator -], -[stderr])]) +]) AT_CLEANUP