From a47ba490d65b30fb2839fa9cb8ce862074c1ca8c Mon Sep 17 00:00:00 2001 From: jilles Date: Tue, 12 May 2020 21:59:21 +0000 Subject: [PATCH] sh/tests: Test some obscure cases with aliasing keywords --- bin/sh/tests/parser/Makefile | 2 ++ bin/sh/tests/parser/alias19.0 | 8 ++++++++ bin/sh/tests/parser/alias19.0.stdout | 1 + bin/sh/tests/parser/alias20.0 | 9 +++++++++ bin/sh/tests/parser/alias20.0.stdout | 1 + 5 files changed, 21 insertions(+) create mode 100644 bin/sh/tests/parser/alias19.0 create mode 100644 bin/sh/tests/parser/alias19.0.stdout create mode 100644 bin/sh/tests/parser/alias20.0 create mode 100644 bin/sh/tests/parser/alias20.0.stdout diff --git a/bin/sh/tests/parser/Makefile b/bin/sh/tests/parser/Makefile index 9a65499e77e5..f3a15badeb52 100644 --- a/bin/sh/tests/parser/Makefile +++ b/bin/sh/tests/parser/Makefile @@ -25,6 +25,8 @@ ${PACKAGE}FILES+= alias15.0 alias15.0.stdout ${PACKAGE}FILES+= alias16.0 ${PACKAGE}FILES+= alias17.0 ${PACKAGE}FILES+= alias18.0 +${PACKAGE}FILES+= alias19.0 alias19.0.stdout +${PACKAGE}FILES+= alias20.0 alias20.0.stdout ${PACKAGE}FILES+= and-pipe-not.0 ${PACKAGE}FILES+= case1.0 ${PACKAGE}FILES+= case2.0 diff --git a/bin/sh/tests/parser/alias19.0 b/bin/sh/tests/parser/alias19.0 new file mode 100644 index 000000000000..d086f652fea5 --- /dev/null +++ b/bin/sh/tests/parser/alias19.0 @@ -0,0 +1,8 @@ +# $FreeBSD$ + +alias begin={ end=} +begin +cat <