Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sh: Add a test for a fairly obscure case with aliases.

Obtained-from:  FreeBSD 224104
  • Loading branch information...
commit 15ea6933373df476420e501d6102fb6c852ce3f7 1 parent 07f8180
Peter Avalos authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 tools/regression/bin/sh/parser/alias6.0
View
6 tools/regression/bin/sh/parser/alias6.0
@@ -0,0 +1,6 @@
+# $FreeBSD: src/tools/regression/bin/sh/parser/alias6.0,v 1.1 2011/07/16 16:14:14 jilles Exp $
+
+alias alias0='| cat >/dev/null'
+
+eval '{ echo bad; } alias0'
+eval '(echo bad)alias0'
Please sign in to comment.
Something went wrong with that request. Please try again.