diff options
author | Denys Vlasenko | 2018-08-05 20:03:04 +0200 |
---|---|---|
committer | Denys Vlasenko | 2018-08-05 20:03:04 +0200 |
commit | 77c18491b8647832422be3f95187e5aa5270e044 (patch) | |
tree | 11719b1fa94c20c495a10fa06620c75e315831eb | |
parent | 2596f412cd02d4b040262e5f40de2e7a7e6b32cf (diff) | |
download | busybox-77c18491b8647832422be3f95187e5aa5270e044.zip busybox-77c18491b8647832422be3f95187e5aa5270e044.tar.gz |
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 0000000..99a0aea --- /dev/null +++ b/shell/hush_test/hush-quoting/quote_in_varexp1.right @@ -0,0 +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 0000000..1b97b05 --- /dev/null +++ b/shell/hush_test/hush-quoting/quote_in_varexp1.tests @@ -0,0 +1,2 @@ +x="''''"; echo "${x#"${x+''}"''}" +echo Ok:$? |