Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2010 18:57: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: r203677 - head/tools/regression/bin/sh/parameters
Message-ID:  <201002081857.o18IvJlD028572@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Mon Feb  8 18:57:18 2010
New Revision: 203677
URL: http://svn.freebsd.org/changeset/base/203677

Log:
  sh: Make sure the mail2.0 test can actually fail if $MAIL is not touched.

Modified:
  head/tools/regression/bin/sh/parameters/mail2.0

Modified: head/tools/regression/bin/sh/parameters/mail2.0
==============================================================================
--- head/tools/regression/bin/sh/parameters/mail2.0	Mon Feb  8 18:51:24 2010	(r203676)
+++ head/tools/regression/bin/sh/parameters/mail2.0	Mon Feb  8 18:57:18 2010	(r203677)
@@ -4,7 +4,7 @@
 goodfile=/var/empty/sh-test-goodfile
 mailfile=/var/empty/sh-test-mailfile
 T=$(mktemp sh-test.XXXXXX) || exit
-MAIL=$mailfile ktrace -i -f "$T" sh +m -i </dev/null >/dev/null 2>&1
+ENV=$goodfile MAIL=$mailfile ktrace -i -f "$T" sh +m -i </dev/null >/dev/null 2>&1
 if ! grep -q $goodfile "$T"; then
 	# ktrace problem
 	rc=0



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