Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2009 17:23:27 +0000 (UTC)
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193178 - in head/tools/regression/bin/sh: builtins set-e
Message-ID:  <200905311723.n4VHNRku049896@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stefanf
Date: Sun May 31 17:23:27 2009
New Revision: 193178
URL: http://svn.freebsd.org/changeset/base/193178

Log:
  Add tests for r193169.

Added:
  head/tools/regression/bin/sh/builtins/eval1.0   (contents, props changed)
  head/tools/regression/bin/sh/set-e/eval1.0   (contents, props changed)
  head/tools/regression/bin/sh/set-e/eval2.1   (contents, props changed)
Modified:
  head/tools/regression/bin/sh/set-e/not2.0

Added: head/tools/regression/bin/sh/builtins/eval1.0
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/tools/regression/bin/sh/builtins/eval1.0	Sun May 31 17:23:27 2009	(r193178)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+set -e
+
+eval
+eval "" ""
+eval "true"
+! eval "false
+
+"

Added: head/tools/regression/bin/sh/set-e/eval1.0
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/tools/regression/bin/sh/set-e/eval1.0	Sun May 31 17:23:27 2009	(r193178)
@@ -0,0 +1,3 @@
+# $FreeBSD$
+set -e
+eval false || true

Added: head/tools/regression/bin/sh/set-e/eval2.1
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/tools/regression/bin/sh/set-e/eval2.1	Sun May 31 17:23:27 2009	(r193178)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+set -e
+eval false
+exit 0

Modified: head/tools/regression/bin/sh/set-e/not2.0
==============================================================================
--- head/tools/regression/bin/sh/set-e/not2.0	Sun May 31 15:41:46 2009	(r193177)
+++ head/tools/regression/bin/sh/set-e/not2.0	Sun May 31 17:23:27 2009	(r193178)
@@ -1,3 +1,4 @@
 # $FreeBSD$
 set -e
 ! false
+! eval false



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