From 981a0f19d3666e441fe0f202da2d5a22ba9e9ac2 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Fri, 24 Jan 2014 15:03:56 +0000 Subject: [PATCH] sh: Add test for nested alias. --- bin/sh/tests/parser/Makefile | 1 + bin/sh/tests/parser/alias11.0 | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 bin/sh/tests/parser/alias11.0 diff --git a/bin/sh/tests/parser/Makefile b/bin/sh/tests/parser/Makefile index 71bd370b0206..10da71646b5b 100644 --- a/bin/sh/tests/parser/Makefile +++ b/bin/sh/tests/parser/Makefile @@ -15,6 +15,7 @@ FILES+= alias7.0 FILES+= alias8.0 FILES+= alias9.0 FILES+= alias10.0 +FILES+= alias11.0 FILES+= and-pipe-not.0 FILES+= case1.0 FILES+= case2.0 diff --git a/bin/sh/tests/parser/alias11.0 b/bin/sh/tests/parser/alias11.0 new file mode 100644 index 000000000000..79b442a08590 --- /dev/null +++ b/bin/sh/tests/parser/alias11.0 @@ -0,0 +1,6 @@ +# $FreeBSD$ + +alias alias0=alias1 +alias alias1=exit +alias0 0 +exit 3