aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-quoting/squote_in_varexp.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-quoting/squote_in_varexp.tests')
-rwxr-xr-xshell/ash_test/ash-quoting/squote_in_varexp.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ash_test/ash-quoting/squote_in_varexp.tests b/shell/ash_test/ash-quoting/squote_in_varexp.tests
new file mode 100755
index 000000000..a2d05a246
--- /dev/null
+++ b/shell/ash_test/ash-quoting/squote_in_varexp.tests
@@ -0,0 +1,6 @@
+x=yz
+echo ${x#'y'}
+echo "${x#'y'}"
+echo ${x%'z'}
+echo "${x%'z'}"
+echo Ok:$?