summaryrefslogtreecommitdiff
path: root/tests/du
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-09-21 08:30:26 +0200
committerJim Meyering <jim@meyering.net>2007-09-21 08:30:55 +0200
commit308adf1691ae01185b3e88cb529ad4eccd873e44 (patch)
treec8a9701e04394f9aaca250a93d69fba36965653b /tests/du
parent5d0c06a24a50b19b46d9be579dea2afd997a9b73 (diff)
downloadcoreutils-308adf1691ae01185b3e88cb529ad4eccd873e44.tar.xz
Avoid a test failure due to now-parallelized tests.
* tests/du/two-args: Run "du .." from a sub-directory one level deeper.
Diffstat (limited to 'tests/du')
-rwxr-xr-xtests/du/two-args6
1 files changed, 6 insertions, 0 deletions
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