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_and_assign.tests | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 shell/ash_test/ash-glob/glob_and_assign.tests (limited to 'shell/ash_test/ash-glob/glob_and_assign.tests') diff --git a/shell/ash_test/ash-glob/glob_and_assign.tests b/shell/ash_test/ash-glob/glob_and_assign.tests new file mode 100755 index 000000000..0b158f20f --- /dev/null +++ b/shell/ash_test/ash-glob/glob_and_assign.tests @@ -0,0 +1,10 @@ +>ZVAR=z.tmp +>z.tmp +ZVAR=*.tmp echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp" +ZVAR=*.tmp /bin/echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp" +ZVAR=*.tmp +echo "$ZVAR" +echo $ZVAR +echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp" +/bin/echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp" +rm ZVAR=z.tmp z.tmp -- cgit v1.2.3