summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2014-01-24 15:03:56 +0000
committerjilles <jilles@FreeBSD.org>2014-01-24 15:03:56 +0000
commitd93326e5784a5f392b6e278a538e0e0014d72037 (patch)
tree13754a501124ded6ea25118b395e1d5ae72fa8c9 /bin
parent737dfd6dbe5bebece26e1298d480cbbd17f5f5ea (diff)
downloadFreeBSD-src-d93326e5784a5f392b6e278a538e0e0014d72037.zip
FreeBSD-src-d93326e5784a5f392b6e278a538e0e0014d72037.tar.gz
sh: Add test for nested alias.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/tests/parser/Makefile1
-rw-r--r--bin/sh/tests/parser/alias11.06
2 files changed, 7 insertions, 0 deletions
diff --git a/bin/sh/tests/parser/Makefile b/bin/sh/tests/parser/Makefile
index 71bd370..10da716 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 0000000..79b442a
--- /dev/null
+++ b/bin/sh/tests/parser/alias11.0
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+alias alias0=alias1
+alias alias1=exit
+alias0 0
+exit 3
OpenPOWER on IntegriCloud