diff options
Diffstat (limited to 'release/src/router/busybox/shell/hush_test/hush-psubst/tick3.tests')
-rwxr-xr-x | release/src/router/busybox/shell/hush_test/hush-psubst/tick3.tests | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/release/src/router/busybox/shell/hush_test/hush-psubst/tick3.tests b/release/src/router/busybox/shell/hush_test/hush-psubst/tick3.tests new file mode 100755 index 00000000..469c43c2 --- /dev/null +++ b/release/src/router/busybox/shell/hush_test/hush-psubst/tick3.tests @@ -0,0 +1,12 @@ +test "$CONFIG_FEATURE_FANCY_ECHO" = "y" || exit 77 + +TEST=Q +# \` is special +echo `echo '\'TEST\`echo ZZ\`BEST` +# \$ and \\ are special +echo `echo \\$TEST` +echo `echo \$TEST` +echo a`echo \\\\b`c +# \" etc are NOT special (passed verbatim WITH \)! +echo a`echo \"`c +echo done:$? |