From owner-svn-src-all@FreeBSD.ORG Mon Feb 8 18:57:19 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 324541065670; Mon, 8 Feb 2010 18:57:19 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 21F568FC14; Mon, 8 Feb 2010 18:57:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o18IvJw3028574; Mon, 8 Feb 2010 18:57:19 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o18IvJlD028572; Mon, 8 Feb 2010 18:57:19 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201002081857.o18IvJlD028572@svn.freebsd.org> From: Jilles Tjoelker Date: Mon, 8 Feb 2010 18:57:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203677 - head/tools/regression/bin/sh/parameters X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 08 Feb 2010 18:57:19 -0000 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 2>&1 +ENV=$goodfile MAIL=$mailfile ktrace -i -f "$T" sh +m -i /dev/null 2>&1 if ! grep -q $goodfile "$T"; then # ktrace problem rc=0