summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_nested2.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-vars/var_nested2.tests')
-rwxr-xr-xshell/ash_test/ash-vars/var_nested2.tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var_nested2.tests b/shell/ash_test/ash-vars/var_nested2.tests
new file mode 100755
index 0000000..e886586
--- /dev/null
+++ b/shell/ash_test/ash-vars/var_nested2.tests
@@ -0,0 +1,2 @@
+# the bug was easier to trigger in one-liner form
+a=a; b=b; f() { a=A; b=B; }; a= f; echo $a$b