aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-01-08 03:42:56 -0600
committerRob Landley <rob@landley.net>2020-01-08 03:42:56 -0600
commite3c1b14cf9b685528efa50ca068a9f3fd9f9b05c (patch)
treeef33f155d7f3ab6165161a32e9f0c924fa58ced2 /tests
parente50071809764cc581a3447fc965e26a10a179953 (diff)
downloadtoybox-e3c1b14cf9b685528efa50ca068a9f3fd9f9b05c.tar.gz
Implement quote removal and fix unterminated bracket expansion.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sh.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sh.test b/tests/sh.test
index 95d7d196..97356b85 100755
--- a/tests/sh.test
+++ b/tests/sh.test
@@ -14,8 +14,8 @@ testing "simple pipe" "echo hello | cat" "hello\n" "" ""
testing "brackets" "echo {A{a,b}B{c,d}C}" "{AaBcC} {AaBdC} {AbBcC} {AbBdC}\n" \
"" ""
testing "brackets2" "echo {A{a,b}B{c,d}C,D}" "AaBcC AaBdC AbBcC AbBdC D\n" "" ""
-#testing "brackets3" 'echo {A"b,c"D}' "{Ab,cD}\n" "" ""
-#testing "brackets4" 'echo {A"bc",D}' "Abc D\n" "" ""
+testing "brackets3" 'echo {A"b,c"D}' "{Ab,cD}\n" "" ""
+testing "brackets4" 'echo {A"bc",D}' "Abc D\n" "" ""
testing "brackets5" 'echo {A,B,C' "{A,B,C\n" "" ""
testing "brackets6" 'echo {{{{A,B},C}D},E}' "{AD} {BD} {CD} E\n" "" ""
testing "brackets7" 'echo {{{a,b},c,{d,e}},f}' "a b c d e f\n" "" ""