From: Jim Meyering Date: Fri, 21 Sep 2007 06:30:26 +0000 (+0200) Subject: Avoid a test failure due to now-parallelized tests. X-Git-Tag: v6.9.89~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=308adf1691ae01185b3e88cb529ad4eccd873e44;p=thirdparty%2Fcoreutils.git Avoid a test failure due to now-parallelized tests. * tests/du/two-args: Run "du .." from a sub-directory one level deeper. --- diff --git a/ChangeLog b/ChangeLog index e1f850e021..32194b6225 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-21 Jim Meyering + + Avoid test failure due to now-parallelized tests. + * tests/du/two-args: Run "du .." from a sub-directory one level deeper. + 2007-09-16 Jim Meyering * tests/misc/tac-continue: Arrange to remove a temporary file. diff --git a/tests/du/two-args b/tests/du/two-args index a9a3e75b04..9d9330e950 100755 --- a/tests/du/two-args +++ b/tests/du/two-args @@ -24,6 +24,12 @@ fi . $srcdir/../test-lib.sh +# Run this test from a sub-directory one level deeper than normal, +# so that the "du .." below doesn't traverse sibling directories +# that may be inaccessible due concurrently-running tests. +mkdir sub || framework_failure +cd sub || framework_failure + t=t mkdir -p $t/1 $t/2 || framework_failure