tests: fix a bug in sanitize_path_ that inhibited verbose output
authorJim Meyering <meyering@redhat.com>
Thu, 3 Dec 2009 16:04:16 +0000 (17:04 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 3 Dec 2009 16:04:16 +0000 (17:04 +0100)
* 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.

tests/test-lib.sh

index 06087ea295ded65ed0283fcae48bf009630bab0a..e600a9c6787b7e29b81e6e18968f4e22edc559c6 100644 (file)
@@ -30,7 +30,7 @@ sanitize_path_()
 {
   local saved_IFS=$IFS
     IFS=:
-    set - $PATH
+    set -- $PATH
   IFS=$saved_IFS
 
   local d d1