diff options
author | jilles <jilles@FreeBSD.org> | 2010-02-08 18:57:18 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-02-08 18:57:18 +0000 |
commit | 864e4b956ac91b74fed9f4f0ed7183e36dadec6a (patch) | |
tree | b68cb43be1d239a64f9d0901c73f09b26beb57d9 | |
parent | bde3e9d61d9ea3d2559c24068294419b902cf4fd (diff) | |
download | FreeBSD-src-864e4b956ac91b74fed9f4f0ed7183e36dadec6a.zip FreeBSD-src-864e4b956ac91b74fed9f4f0ed7183e36dadec6a.tar.gz |
sh: Make sure the mail2.0 test can actually fail if $MAIL is not touched.
-rw-r--r-- | tools/regression/bin/sh/parameters/mail2.0 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/bin/sh/parameters/mail2.0 b/tools/regression/bin/sh/parameters/mail2.0 index 4f14849..e3b7da3 100644 --- a/tools/regression/bin/sh/parameters/mail2.0 +++ b/tools/regression/bin/sh/parameters/mail2.0 @@ -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 |