commit | 05c5d745f7b14e265144489b7809a3d6dbbadec6 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sun Jul 25 22:03:16 2021 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sun Jul 25 22:03:16 2021 +0200 |
tree | 2c845850220a961dfb03d36185f0a1f8ec03fddb | |
parent | 53d45c934f54b7931cc736eba42903cb1f6d4632 [diff] [blame] |
ahell: update testsuite Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/shell/ash_test/ash-vars/var_nested1.tests b/shell/ash_test/ash-vars/var_nested1.tests new file mode 100755 index 0000000..59e4a14 --- /dev/null +++ b/shell/ash_test/ash-vars/var_nested1.tests
@@ -0,0 +1,16 @@ +f() { a=A; b=B; } + +a=a +b=b +f +echo Expected:AB Actual:$a$b + +a=a +b=b +b= f +echo Expected:Ab Actual:$a$b + +a=a +b=b +a= b= f +echo Expected:ab Actual:$a$b