From e34dbc4fdcae6e21bb186c225f76d399d2656d75 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 24 Jul 2017 02:49:56 +0200 Subject: ash: add all hush parsing tests to ast tests All pass. Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-parsing/starquoted.tests | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 shell/ash_test/ash-parsing/starquoted.tests (limited to 'shell/ash_test/ash-parsing/starquoted.tests') diff --git a/shell/ash_test/ash-parsing/starquoted.tests b/shell/ash_test/ash-parsing/starquoted.tests new file mode 100755 index 000000000..2fe49b1cd --- /dev/null +++ b/shell/ash_test/ash-parsing/starquoted.tests @@ -0,0 +1,8 @@ +if test $# = 0; then + exec "$THIS_SH" "$0" 1 abc 'd e f' +fi + +for a in "$*"; do echo ".$a."; done +for a in "$@"; do echo ".$a."; done +for a in "-$*-"; do echo ".$a."; done +for a in "-$@-"; do echo ".$a."; done -- cgit v1.2.3