Imported from ../bash-4.0-rc1.tar.gz.
[platform/upstream/bash.git] / tests / extglob.tests
index 51e33ee..eb26d55 100644 (file)
@@ -356,9 +356,14 @@ rm -rf $TESTDIR
 x=abcdef
 recho "${x#*(a|b)cd}"
 
+TEST='a , b'
+shopt -s globstar
+echo ${TEST//*([[:space:]]),*([[:space:]])/,}
+shopt -u globstar
+
 # this is for the benefit of pure coverage, so it writes the pcv file
 # in the right place
-builtin cd $MYDIR
+builtin cd "$MYDIR"
 
 ${THIS_SH} ./extglob1.sub