From owner-svn-src-stable-8@FreeBSD.ORG Mon Feb 6 13:17:57 2012 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A67691065670; Mon, 6 Feb 2012 13:17:57 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9429B8FC1B; Mon, 6 Feb 2012 13:17:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q16DHvIS037396; Mon, 6 Feb 2012 13:17:57 GMT (envelope-from dumbbell@svn.freebsd.org) Received: (from dumbbell@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q16DHvSL037395; Mon, 6 Feb 2012 13:17:57 GMT (envelope-from dumbbell@svn.freebsd.org) Message-Id: <201202061317.q16DHvSL037395@svn.freebsd.org> From: Jean-Sebastien Pedron Date: Mon, 6 Feb 2012 13:17:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r231083 - stable/8/tools/regression/bin/sh/builtins X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 13:17:57 -0000 Author: dumbbell Date: Mon Feb 6 13:17:57 2012 New Revision: 231083 URL: http://svn.freebsd.org/changeset/base/231083 Log: MFC r230211: sh: Test EXIT trap with multiple statements in it Reviewed by: jilles Added: stable/8/tools/regression/bin/sh/builtins/trap9.0 - copied unchanged from r230211, head/tools/regression/bin/sh/builtins/trap9.0 Modified: Directory Properties: stable/8/tools/ (props changed) stable/8/tools/regression/bin/ (props changed) stable/8/tools/regression/bin/sh/ (props changed) Copied: stable/8/tools/regression/bin/sh/builtins/trap9.0 (from r230211, head/tools/regression/bin/sh/builtins/trap9.0) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/8/tools/regression/bin/sh/builtins/trap9.0 Mon Feb 6 13:17:57 2012 (r231083, copy of r230211, head/tools/regression/bin/sh/builtins/trap9.0) @@ -0,0 +1,3 @@ +# $FreeBSD$ + +test "$(trap 'printf trap; echo ped' EXIT; f() { :; }; f)" = trapped || exit 1