summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/shell/ash_test/ash-quoting
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/shell/ash_test/ash-quoting')
-rw-r--r--release/src/router/busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.right9
-rwxr-xr-xrelease/src/router/busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.tests7
2 files changed, 16 insertions, 0 deletions
diff --git a/release/src/router/busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.right b/release/src/router/busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.right
new file mode 100644
index 00000000..57536b1d
--- /dev/null
+++ b/release/src/router/busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.right
@@ -0,0 +1,9 @@
+a b
+a
+b c
+def
+a'b c"d e\f
+a3b c3b e33f
+a\80b c08b
+a3b c30b
+x y
diff --git a/release/src/router/busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.tests b/release/src/router/busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.tests
new file mode 100755
index 00000000..93a56cac
--- /dev/null
+++ b/release/src/router/busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.tests
@@ -0,0 +1,7 @@
+echo $'a\tb'
+echo $'a\nb' $'c\nd''ef'
+echo $'a\'b' $'c\"d' $'e\\f'
+echo $'a\63b' $'c\063b' $'e\0633f'
+echo $'a\80b' $'c\608b'
+echo $'a\x33b' $'c\x330b'
+echo $'x\x9y'