diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-08-05 20:03:04 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-08-05 20:03:04 +0200 |
commit | 77c18491b8647832422be3f95187e5aa5270e044 (patch) | |
tree | 11719b1fa94c20c495a10fa06620c75e315831eb | |
parent | 2596f412cd02d4b040262e5f40de2e7a7e6b32cf (diff) | |
download | busybox-w32-77c18491b8647832422be3f95187e5aa5270e044.tar.gz busybox-w32-77c18491b8647832422be3f95187e5aa5270e044.tar.bz2 busybox-w32-77c18491b8647832422be3f95187e5aa5270e044.zip |
hush: adopt ash's quote_in_varexp1.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/hush_test/hush-quoting/quote_in_varexp1.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-quoting/quote_in_varexp1.tests | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-quoting/quote_in_varexp1.right b/shell/hush_test/hush-quoting/quote_in_varexp1.right new file mode 100644 index 000000000..99a0aea7c --- /dev/null +++ b/shell/hush_test/hush-quoting/quote_in_varexp1.right | |||
@@ -0,0 +1,2 @@ | |||
1 | '' | ||
2 | Ok:0 | ||
diff --git a/shell/hush_test/hush-quoting/quote_in_varexp1.tests b/shell/hush_test/hush-quoting/quote_in_varexp1.tests new file mode 100755 index 000000000..1b97b0556 --- /dev/null +++ b/shell/hush_test/hush-quoting/quote_in_varexp1.tests | |||
@@ -0,0 +1,2 @@ | |||
1 | x="''''"; echo "${x#"${x+''}"''}" | ||
2 | echo Ok:$? | ||