summary refs log tree commit diff
path: root/bin/cash/tests/parser/alias3.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cash/tests/parser/alias3.0')
-rw-r--r--bin/cash/tests/parser/alias3.06
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/cash/tests/parser/alias3.0 b/bin/cash/tests/parser/alias3.0
new file mode 100644
index 00000000..cf737545
--- /dev/null
+++ b/bin/cash/tests/parser/alias3.0
@@ -0,0 +1,6 @@
+# $FreeBSD: releng/12.0/bin/sh/tests/parser/alias3.0 214709 2010-11-02 23:44:29Z jilles $
+
+alias alias0=exit
+x=alias0
+eval 'case $x in "alias0") alias0 0;; esac'
+exit 1