aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-bugs
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-bugs')
-rw-r--r--shell/hush_test/hush-bugs/empty_for.right1
-rwxr-xr-xshell/hush_test/hush-bugs/empty_for.tests3
-rw-r--r--shell/hush_test/hush-bugs/glob_and_vars.right1
-rwxr-xr-xshell/hush_test/hush-bugs/glob_and_vars.tests2
4 files changed, 5 insertions, 2 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 000000000..290d39b7e
--- /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 000000000..0cb52e849
--- /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.right b/shell/hush_test/hush-bugs/glob_and_vars.right
deleted file mode 100644
index 3ac7ec5ff..000000000
--- a/shell/hush_test/hush-bugs/glob_and_vars.right
+++ /dev/null
@@ -1 +0,0 @@
-./glob_and_vars.right ./glob_and_vars.tests
diff --git a/shell/hush_test/hush-bugs/glob_and_vars.tests b/shell/hush_test/hush-bugs/glob_and_vars.tests
index c8e0c067d..482cf9d8a 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]*