summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_nested2.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2021-07-25 22:03:16 +0200
committerDenys Vlasenko2021-07-25 22:03:16 +0200
commit05c5d745f7b14e265144489b7809a3d6dbbadec6 (patch)
tree2c845850220a961dfb03d36185f0a1f8ec03fddb /shell/ash_test/ash-vars/var_nested2.tests
parent53d45c934f54b7931cc736eba42903cb1f6d4632 (diff)
downloadbusybox-05c5d745f7b14e265144489b7809a3d6dbbadec6.zip
busybox-05c5d745f7b14e265144489b7809a3d6dbbadec6.tar.gz
ahell: update testsuite
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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