summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/rpc/unit-test/ChangeLog5
-rw-r--r--src/lib/rpc/unit-test/rpc_test_setup.sh7
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 <tlyu@mit.edu>
+
+ * 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 <tlyu@mit.edu>
* 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=