summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xtests/du/two-args6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e1f850e02..32194b622 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-21 Jim Meyering <jim@meyering.net>
+
+ 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 <jim@meyering.net>
* tests/misc/tac-continue: Arrange to remove a temporary file.
diff --git a/tests/du/two-args b/tests/du/two-args
index a9a3e75b0..9d9330e95 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