From b01894ce34c4078c4140d0c0a4ee409398ea1121 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Mar 2003 08:15:14 +0000 Subject: Unset CDPATH. Otherwise, having the CDPATH shell variable set could cause this test to fail. --- tests/mv/part-symlink | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/mv/part-symlink') 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 -- cgit v1.2.3-54-g00ecf