Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2012 13:17:57 +0000 (UTC)
From:      Jean-Sebastien Pedron <dumbbell@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r231083 - stable/8/tools/regression/bin/sh/builtins
Message-ID:  <201202061317.q16DHvSL037395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202061317.q16DHvSL037395>