From: Jim Meyering Date: Wed, 19 Mar 2003 08:15:14 +0000 (+0000) Subject: Unset CDPATH. Otherwise, having the X-Git-Tag: v4.5.11~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b01894ce34c4078c4140d0c0a4ee409398ea1121;p=thirdparty%2Fcoreutils.git Unset CDPATH. Otherwise, having the CDPATH shell variable set could cause this test to fail. --- diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink index cf2055fdf6..4bcef66e8d 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