diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-19 08:15:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-19 08:15:14 +0000 |
commit | b01894ce34c4078c4140d0c0a4ee409398ea1121 (patch) | |
tree | 2e9ed245d1246e416e7e78f02dfc0d348d6a5a17 /tests | |
parent | 7c76b720e8c8d19c7761afe5bc2defc9512260ec (diff) | |
download | coreutils-b01894ce34c4078c4140d0c0a4ee409398ea1121.tar.xz |
Unset CDPATH. Otherwise, having the
CDPATH shell variable set could cause this test to fail.
Diffstat (limited to 'tests')
-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 |