From 2bef65c1eefff7154f2f617b62fbddccd8b31b53 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 12 Nov 1996 20:01:18 +0000 Subject: [PATCH] * rpc_test_setup.sh: Fix test of $VERBOSE_TEST so that $VERBOSE only gets set if $VERBOSE_TEST is not empty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9388 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/unit-test/ChangeLog | 5 +++++ src/lib/rpc/unit-test/rpc_test_setup.sh | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index f6fcc7e81..22cea206a 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 12 14:58:20 1996 Tom Yu + + * rpc_test_setup.sh: Fix test of $VERBOSE_TEST so that $VERBOSE + only gets set if $VERBOSE_TEST is not empty. + Mon Nov 11 20:52:27 1996 Tom Yu * rpc_test_setup.sh: Use a temp file rather than a here document diff --git a/src/lib/rpc/unit-test/rpc_test_setup.sh b/src/lib/rpc/unit-test/rpc_test_setup.sh index d31ae89be..4bf869f3c 100644 --- a/src/lib/rpc/unit-test/rpc_test_setup.sh +++ b/src/lib/rpc/unit-test/rpc_test_setup.sh @@ -13,9 +13,12 @@ DUMMY=${TCLUTIL=$TESTDIR/tcl/util.t}; export TCLUTIL DUMMY=${MAKE_KEYTAB=$TESTDIR/scripts/make-host-keytab.pl} # If it's set, set it to true -VERBOSE=${VERBOSE_TEST+true} +if test x$VERBOSE_TEST = x; then + VERBOSE=true # Otherwise, set it to false -DUMMY=${VERBOSE=false} +else + VERBOSE=false +fi if $VERBOSE; then REDIRECT= -- 2.26.2