I ran into some "make check" failures when I set BLOCK_SIZE in my
environment before running the coreutils tests.  Here's a patch.

2004-02-25  Paul Eggert  <[EMAIL PROTECTED]>

        * tests/du/deref-args, tests/du/exclude, tests/du/slash,
        tests/du/trailing-slash: Run envvar-check in case BLOCK_SIZE
        etc. are set.

Index: tests/du/deref-args
===================================================================
RCS file: /home/meyering/coreutils/cu/tests/du/deref-args,v
retrieving revision 1.3
diff -p -u -r1.3 deref-args
--- tests/du/deref-args 18 Oct 2003 13:09:45 -0000      1.3
+++ tests/du/deref-args 25 Feb 2004 18:07:39 -0000
@@ -7,6 +7,8 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
+. $srcdir/../envvar-check
+
 pwd=`pwd`
 t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
 trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
Index: tests/du/exclude
===================================================================
RCS file: /home/meyering/coreutils/cu/tests/du/exclude,v
retrieving revision 1.4
diff -p -u -r1.4 exclude
--- tests/du/exclude    5 Feb 2003 14:29:59 -0000       1.4
+++ tests/du/exclude    25 Feb 2004 18:08:14 -0000
@@ -6,6 +6,8 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
+. $srcdir/../envvar-check
+
 pwd=`pwd`
 t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
 trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
Index: tests/du/slash
===================================================================
RCS file: /home/meyering/coreutils/cu/tests/du/slash,v
retrieving revision 1.1
diff -p -u -r1.1 slash
--- tests/du/slash      9 Jul 2003 09:59:58 -0000       1.1
+++ tests/du/slash      25 Feb 2004 18:08:07 -0000
@@ -6,6 +6,8 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
+. $srcdir/../envvar-check
+
 pwd=`pwd`
 t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
 trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
Index: tests/du/trailing-slash
===================================================================
RCS file: /home/meyering/coreutils/cu/tests/du/trailing-slash,v
retrieving revision 1.4
diff -p -u -r1.4 trailing-slash
--- tests/du/trailing-slash     2 Oct 2003 20:29:12 -0000       1.4
+++ tests/du/trailing-slash     25 Feb 2004 18:08:23 -0000
@@ -8,6 +8,8 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
+. $srcdir/../envvar-check
+
 pwd=`pwd`
 t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
 trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to