Avoid a test failure due to now-parallelized tests.

* tests/du/two-args: Run "du .." from a sub-directory one level deeper.
This commit is contained in:
Jim Meyering 2007-09-21 08:30:26 +02:00
parent 5d0c06a24a
commit 308adf1691
2 changed files with 11 additions and 0 deletions

View File

@ -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.

View File

@ -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