From 0a7c642d8e5474dc67ca3a5595c07731cce7e098 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 27 Feb 2012 20:42:19 -0600 Subject: [PATCH] Fixed to report failure if getfulname hadn't been built yet. --- test/format/test-myname | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/format/test-myname b/test/format/test-myname index dc86ea5..2b48c2f 100755 --- a/test/format/test-myname +++ b/test/format/test-myname @@ -4,6 +4,8 @@ # the Signature profile entry, and via SIGNATURE environment variable. # +set -e + if test -z "${MH_OBJ_DIR}"; then srcdir=`dirname "$0"`/../.. MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR @@ -13,10 +15,11 @@ fi setup_test -unset SIGNATURE +unset SIGNATURE +fullname=`${MH_OBJ_DIR}/test/getfullname` run_test "${MH_LIB_DIR}/ap -format %(myname) ignore" \ - "`${MH_OBJ_DIR}/test/getfullname`" "GECOS field test" + "$fullname" "GECOS field test" echo "Signature: Some Random Name 1" >> ${MH} -- 1.7.10.4