From owner-svn-src-all@FreeBSD.ORG Thu Nov 8 13:36:19 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8C7EDB4; Thu, 8 Nov 2012 13:36:19 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B48B88FC19; Thu, 8 Nov 2012 13:36:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qA8DaJhI081510; Thu, 8 Nov 2012 13:36:19 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qA8DaJ1D081507; Thu, 8 Nov 2012 13:36:19 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201211081336.qA8DaJ1D081507@svn.freebsd.org> From: Jilles Tjoelker Date: Thu, 8 Nov 2012 13:36:19 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 13:36:20 -0000 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 ]