diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-06 07:43:45 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-06 07:43:45 +0000 |
commit | 00709b8fa234db37968d5b5c976fa722da9ff795 (patch) | |
tree | 0342b8f72fc08b72412c66babc3f72dfc86869e1 | |
parent | 4e38ca53ee5324f0ba7f30e43855e116f16323e9 (diff) | |
download | coreutils-00709b8fa234db37968d5b5c976fa722da9ff795.tar.xz |
Unset CDPATH. Otherwise, having the
CDPATH shell variable set could cause this test to fail.
-rwxr-xr-x | tests/cp/same-file | 4 |
1 files changed, 4 insertions, 0 deletions
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` |