aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-bugs/env_and_func.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-bugs/env_and_func.tests')
-rwxr-xr-xshell/hush_test/hush-bugs/env_and_func.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-bugs/env_and_func.tests b/shell/hush_test/hush-bugs/env_and_func.tests
new file mode 100755
index 000000000..d62c1af40
--- /dev/null
+++ b/shell/hush_test/hush-bugs/env_and_func.tests
@@ -0,0 +1,6 @@
+# UNFIXED BUG
+
+var=old
+f() { echo "var=$var"; }
+var=val f
+echo "var=$var"