summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing/escape3.tests
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-18 16:29:32 +0000
committerDenis Vlasenko2008-06-18 16:29:32 +0000
commitab876cd107fe6ca274f58bae3264396745d8e5f9 (patch)
treec94ecba9c7d10af007294333e9b4c80efe079cfb /shell/hush_test/hush-parsing/escape3.tests
parent985de15bf3f39b5e32e34cadaf6947708197f018 (diff)
downloadbusybox-ab876cd107fe6ca274f58bae3264396745d8e5f9.zip
busybox-ab876cd107fe6ca274f58bae3264396745d8e5f9.tar.gz
hush: add testsuite for "no globbing in redirection" rule.
simplify redirection habdling
Diffstat (limited to 'shell/hush_test/hush-parsing/escape3.tests')
-rwxr-xr-xshell/hush_test/hush-parsing/escape3.tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/escape3.tests b/shell/hush_test/hush-parsing/escape3.tests
new file mode 100755
index 0000000..111ed40
--- /dev/null
+++ b/shell/hush_test/hush-parsing/escape3.tests
@@ -0,0 +1,8 @@
+v='a \ b \\ c \\\ d \\\\ e'
+echo v: $v
+echo v: "$v"
+echo Unquoted:
+for a in $v; do echo .$a.; done
+echo Quoted:
+for a in $v; do echo ".$a."; done
+echo done