diff options
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-bugs/empty_for.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-bugs/empty_for.tests | 3 | ||||
-rwxr-xr-x | shell/hush_test/hush-bugs/glob_and_vars.tests | 2 | ||||
-rw-r--r-- | shell/hush_test/hush-vars/glob_and_vars.right (renamed from shell/hush_test/hush-bugs/glob_and_vars.right) | 0 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/glob_and_vars.tests | 2 |
5 files changed, 7 insertions, 1 deletions
diff --git a/shell/hush_test/hush-bugs/empty_for.right b/shell/hush_test/hush-bugs/empty_for.right new file mode 100644 index 0000000..290d39b --- /dev/null +++ b/shell/hush_test/hush-bugs/empty_for.right @@ -0,0 +1 @@ +OK: 0 diff --git a/shell/hush_test/hush-bugs/empty_for.tests b/shell/hush_test/hush-bugs/empty_for.tests new file mode 100755 index 0000000..0cb52e8 --- /dev/null +++ b/shell/hush_test/hush-bugs/empty_for.tests @@ -0,0 +1,3 @@ +false +for a in; do echo "HELLO"; done +echo OK: $? diff --git a/shell/hush_test/hush-bugs/glob_and_vars.tests b/shell/hush_test/hush-bugs/glob_and_vars.tests index c8e0c06..482cf9d 100755 --- a/shell/hush_test/hush-bugs/glob_and_vars.tests +++ b/shell/hush_test/hush-bugs/glob_and_vars.tests @@ -1,2 +1,2 @@ v=. -echo $v/glob_and_vars.* +echo $v/glob_and_vars.[tr]* diff --git a/shell/hush_test/hush-bugs/glob_and_vars.right b/shell/hush_test/hush-vars/glob_and_vars.right index 3ac7ec5..3ac7ec5 100644 --- a/shell/hush_test/hush-bugs/glob_and_vars.right +++ b/shell/hush_test/hush-vars/glob_and_vars.right diff --git a/shell/hush_test/hush-vars/glob_and_vars.tests b/shell/hush_test/hush-vars/glob_and_vars.tests new file mode 100755 index 0000000..482cf9d --- /dev/null +++ b/shell/hush_test/hush-vars/glob_and_vars.tests @@ -0,0 +1,2 @@ +v=. +echo $v/glob_and_vars.[tr]* |