|
@@ -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
|