summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing/escape5.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2009-05-28 16:49:11 +0200
committerMike Frysinger2009-07-22 05:19:08 -0400
commit078d55028e4f4e9e4ba9216580a37778c40eca5c (patch)
tree6d8a625f7fe3059908fb4372dcf627f4bb3a3104 /shell/hush_test/hush-parsing/escape5.tests
parentbbc31e5f3cb2482f752ab6251b1d7491b5ea73eb (diff)
downloadbusybox-078d55028e4f4e9e4ba9216580a37778c40eca5c.zip
busybox-078d55028e4f4e9e4ba9216580a37778c40eca5c.tar.gz
hush: fix bug 353 (wrong handling of \x in assignments)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'shell/hush_test/hush-parsing/escape5.tests')
-rwxr-xr-xshell/hush_test/hush-parsing/escape5.tests7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/escape5.tests b/shell/hush_test/hush-parsing/escape5.tests
new file mode 100755
index 0000000..337a98e
--- /dev/null
+++ b/shell/hush_test/hush-parsing/escape5.tests
@@ -0,0 +1,7 @@
+v="a\nb\nc\n"
+echo "$v"
+printf "$v"
+v='a\nb\nc\n'
+echo "$v"
+printf "$v"
+echo Done