From: Sergey Poznyakoff Date: Thu, 13 Jan 2005 16:00:45 +0000 (+0000) Subject: Sort tar output X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=commitdiff_plain;h=14d8c8a0354f2f48969b8f2bde898675bdd92f72 Sort tar output --- diff --git a/tests/pipe.at b/tests/pipe.at index d04fca5..e92e001 100644 --- a/tests/pipe.at +++ b/tests/pipe.at @@ -1,7 +1,7 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005 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 @@ -34,7 +34,7 @@ AT_TAR_CHECK([ mkdir directory genfile --length 10240 --pattern zeros > directory/file1 genfile --length 13 > directory/file2 -tar cf archive directory +tar cf archive directory|sort 2>/dev/null mv directory orig cat archive | tar xfv - echo "separator"