Date: Thu, 8 Nov 2012 13:36:19 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242767 - in head/tools/regression/bin/sh: builtins parser Message-ID: <201211081336.qA8DaJ1D081507@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Thu Nov 8 13:36:19 2012 New Revision: 242767 URL: http://svnweb.freebsd.org/changeset/base/242767 Log: sh: Add tests for modifying an alias (r242766). Note: parser/alias10.0 will eat a lot of memory/cpu time when it fails (with the old sh). Added: head/tools/regression/bin/sh/builtins/alias3.0 (contents, props changed) head/tools/regression/bin/sh/builtins/alias3.0.stdout (contents, props changed) head/tools/regression/bin/sh/parser/alias10.0 (contents, props changed) Added: head/tools/regression/bin/sh/builtins/alias3.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/builtins/alias3.0 Thu Nov 8 13:36:19 2012 (r242767) @@ -0,0 +1,12 @@ +# $FreeBSD$ +set -e + +unalias -a +alias foo=bar +alias bar= +alias quux="1 2 3" +alias foo=bar +alias bar= +alias quux="1 2 3" +alias +alias foo Added: head/tools/regression/bin/sh/builtins/alias3.0.stdout ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/builtins/alias3.0.stdout Thu Nov 8 13:36:19 2012 (r242767) @@ -0,0 +1,4 @@ +bar='' +foo=bar +quux='1 2 3' +foo=bar Added: head/tools/regression/bin/sh/parser/alias10.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/parser/alias10.0 Thu Nov 8 13:36:19 2012 (r242767) @@ -0,0 +1,5 @@ +# $FreeBSD$ + +alias echo='echo' +alias echo='echo' +[ "`eval echo b`" = b ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211081336.qA8DaJ1D081507>