summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-12-03 17:04:16 +0100
committerJim Meyering <meyering@redhat.com>2009-12-03 17:04:16 +0100
commit5224fbd6f904633b72f4bfa9d64e903744b0beae (patch)
tree31d4a192e51a56837aa56b5727c43e634cdcd7b2 /tests
parentd16a8f6c7fc22799d8daa8154a45fb8b3a58ec06 (diff)
downloadcoreutils-5224fbd6f904633b72f4bfa9d64e903744b0beae.tar.xz
tests: fix a bug in sanitize_path_ that inhibited verbose output
* tests/test-lib.sh (sanitize_path_): Use "set -- ...", not "set - ...", since the latter turns off the -x setting we rely on for VERBOSE=yes output.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index 06087ea29..e600a9c67 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -30,7 +30,7 @@ sanitize_path_()
{
local saved_IFS=$IFS
IFS=:
- set - $PATH
+ set -- $PATH
IFS=$saved_IFS
local d d1