mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Unset CDPATH. Otherwise, having the
CDPATH shell variable set could cause this test to fail.
This commit is contained in:
1 parent
7c76b720e8
commit
b01894ce34
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user