From 00709b8fa234db37968d5b5c976fa722da9ff795 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 6 Mar 2003 07:43:45 +0000 Subject: Unset CDPATH. Otherwise, having the CDPATH shell variable set could cause this test to fail. --- tests/cp/same-file | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/cp/same-file') diff --git a/tests/cp/same-file b/tests/cp/same-file index 3d6aa95f6..639098ebd 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -9,6 +9,10 @@ fi . $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 + VERSION_CONTROL=numbered; export VERSION_CONTROL pwd=`pwd` -- cgit v1.2.3-54-g00ecf