diff options
-rwxr-xr-x | tests/mv/part-symlink | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink index cf2055fdf..4bcef66e8 100755 --- a/tests/mv/part-symlink +++ b/tests/mv/part-symlink @@ -20,6 +20,10 @@ pwd_tmp=$pwd/$tmp # Make sure the programs use C-locale formats/translations. . $srcdir/../lang-default +# Unset CDPATH. Otherwise, output from the `cd dir' command +# can make this test fail. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + if test -z "$other_partition_tmpdir"; then (exit 77); exit fi |