]> Dogcows Code - chaz/tar/blobdiff - tests/update.at
Call AT_SORT_PREREQ. Remove fd 2 redirection after sort invocations
[chaz/tar] / tests / update.at
index 067c6348e918da6d7109a1774b2f8ea87fe34e48..30fc2dcff147af5c8d0f8243a8266742160d60b4 100644 (file)
@@ -1,7 +1,7 @@
 # Process this file with autom4te to create testsuite. -*- Autotest -*-
 
 # Test suite for GNU tar.
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2006 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
@@ -28,6 +28,7 @@ AT_SETUP([update unchanged directories])
 AT_KEYWORDS([update])
 
 AT_TAR_CHECK([
+AT_SORT_PREREQ
 mkdir directory
 genfile --length 10240 --pattern zeros --file directory/file1
 genfile --length 10240 --pattern default --file directory/file2
@@ -36,7 +37,7 @@ tar cf archive directory || exit 1
 echo separator
 tar uf archive directory || exit 1
 echo separator
-tar tf archive | sort 2>/dev/null || exit 1
+tar tf archive | sort || exit 1
 ],
 [0],
 [separator
This page took 0.022526 seconds and 4 git commands to generate.