diff options
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-glob/bash_brace1.right | 4 | ||||
-rwxr-xr-x | shell/hush_test/hush-glob/bash_brace1.tests | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/shell/hush_test/hush-glob/bash_brace1.right b/shell/hush_test/hush-glob/bash_brace1.right new file mode 100644 index 0000000..63365c9 --- /dev/null +++ b/shell/hush_test/hush-glob/bash_brace1.right @@ -0,0 +1,4 @@ +bash_brace1.tests +*{b,b}race1.t* +bash_brace1.tests bash_brace1.tests +Done: 0 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 0000000..eb2f0e9 --- /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: $? |