summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_unbackslash1.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2016-09-29 17:58:58 +0200
committerDenys Vlasenko2016-09-29 17:58:58 +0200
commit459293b1c536515fbe7fafbae9932aefadb2fbaf (patch)
tree949cfa9001df3b0bea827200565eb8f36f028939 /shell/ash_test/ash-vars/var_unbackslash1.tests
parent73c3e074df4de03ba1bebce09c130c8950ea5fe4 (diff)
downloadbusybox-459293b1c536515fbe7fafbae9932aefadb2fbaf.zip
busybox-459293b1c536515fbe7fafbae9932aefadb2fbaf.tar.gz
ash: fix arithmetic closing )) split by backslash-newline
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars/var_unbackslash1.tests')
-rwxr-xr-xshell/ash_test/ash-vars/var_unbackslash1.tests20
1 files changed, 20 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var_unbackslash1.tests b/shell/ash_test/ash-vars/var_unbackslash1.tests
index 8a9f2e2..cddd8ae 100755
--- a/shell/ash_test/ash-vars/var_unbackslash1.tests
+++ b/shell/ash_test/ash-vars/var_unbackslash1.tests
@@ -13,3 +13,23 @@ d'
eval $e
# "Ok"
eval "$e"
+
+echo $\
+(echo Ok\
+)
+echo "$\
+(echo Ok\
+)"
+
+echo Forty two:$\
+(\
+(\
+42\
+)\
+)
+echo "Forty two:$\
+(\
+(\
+42\
+)\
+)" \ No newline at end of file