From 66a781acb9c3a78f3063d1e691a1b18a5f9f68ab Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 4 Sep 2015 03:27:08 +0200 Subject: ash: add tests adapted from hush glob tests. glob2.tests currently fails Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-glob/glob_redir.tests | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 shell/ash_test/ash-glob/glob_redir.tests (limited to 'shell/ash_test/ash-glob/glob_redir.tests') diff --git a/shell/ash_test/ash-glob/glob_redir.tests b/shell/ash_test/ash-glob/glob_redir.tests new file mode 100755 index 000000000..621d12017 --- /dev/null +++ b/shell/ash_test/ash-glob/glob_redir.tests @@ -0,0 +1,9 @@ +# Redirections are not globbed. +# bash: +# if run as "sh", they are not globbed, but +# if run as "bash", they are! +>z.tmp +echo TEST >?.tmp +echo 'z.tmp:' `cat 'z.tmp'` +echo '?.tmp:' `cat '?.tmp'` +rm 'z.tmp' '?.tmp' -- cgit v1.2.3