summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-glob/glob2.right
diff options
context:
space:
mode:
authorDenys Vlasenko2010-09-06 10:26:37 +0200
committerDenys Vlasenko2010-09-06 10:26:37 +0200
commitc49d2d97939d77be3d1f3bbbbf9db30a55771c15 (patch)
tree8cf0a9ad8fd7e0d9762684fef0a7a5a4f7d43859 /shell/hush_test/hush-glob/glob2.right
parentd383b49aefecea99e5bfb2f9eb2956f1c6c013e1 (diff)
downloadbusybox-c49d2d97939d77be3d1f3bbbbf9db30a55771c15.zip
busybox-c49d2d97939d77be3d1f3bbbbf9db30a55771c15.tar.gz
hush: fix globbing+backslashes in unquoted $var expansion
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'shell/hush_test/hush-glob/glob2.right')
-rw-r--r--shell/hush_test/hush-glob/glob2.right18
1 files changed, 18 insertions, 0 deletions
diff --git a/shell/hush_test/hush-glob/glob2.right b/shell/hush_test/hush-glob/glob2.right
new file mode 100644
index 0000000..7a70c22
--- /dev/null
+++ b/shell/hush_test/hush-glob/glob2.right
@@ -0,0 +1,18 @@
+Expected Actual
+Z\* : Z\*
+Z* : Z*
+Z\f : Z\f
+Z\* : Z\*
+
+Z\z : Z\z
+Zz : Zz
+Z\z : Z\z
+Z\z : Z\z
+
+Z\ : Z\
+Z\ : Z\
+
+Z\f Zf : Z\f Zf
+Z\f Zf : Z\f Zf
+
+Done: 0