summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-glob/bash_brace1.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-glob/bash_brace1.tests')
-rwxr-xr-xshell/hush_test/hush-glob/bash_brace1.tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/hush_test/hush-glob/bash_brace1.tests b/shell/hush_test/hush-glob/bash_brace1.tests
new file mode 100755
index 000000000..eb2f0e974
--- /dev/null
+++ b/shell/hush_test/hush-glob/bash_brace1.tests
@@ -0,0 +1,10 @@
+# unquoted $v should be globbed:
+v='*brace1.t*'; echo $v
+
+# ...but not brace expanded:
+v='*{b,b}race1.t*'; echo $v
+
+# whereas direct brces are expanded:
+echo *{b,b}race1.t*
+
+echo Done: $?