From c0470c839d9d3cd64ee4c9f0e5b94901716cf5de Mon Sep 17 00:00:00 2001 From: jilles Date: Sat, 22 Sep 2012 12:52:41 +0000 Subject: sh: Add some tests for aliasing a utility to itself. --- tools/regression/bin/sh/parser/alias7.0 | 4 ++++ tools/regression/bin/sh/parser/alias8.0 | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 tools/regression/bin/sh/parser/alias7.0 create mode 100644 tools/regression/bin/sh/parser/alias8.0 (limited to 'tools/regression/bin/sh') diff --git a/tools/regression/bin/sh/parser/alias7.0 b/tools/regression/bin/sh/parser/alias7.0 new file mode 100644 index 0000000..b26f0dd --- /dev/null +++ b/tools/regression/bin/sh/parser/alias7.0 @@ -0,0 +1,4 @@ +# $FreeBSD$ + +alias echo='echo a' +[ "`eval echo b`" = "a b" ] diff --git a/tools/regression/bin/sh/parser/alias8.0 b/tools/regression/bin/sh/parser/alias8.0 new file mode 100644 index 0000000..7fc2f15 --- /dev/null +++ b/tools/regression/bin/sh/parser/alias8.0 @@ -0,0 +1,4 @@ +# $FreeBSD$ + +alias echo='echo' +[ "`eval echo b`" = b ] -- cgit v1.1