stop_servers, stop_servers_local: 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@9387
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Nov 12 14:59:31 1996 Tom Yu <tlyu@mit.edu>
+
+ * init_db, save_files.sh, start_servers, start_servers_local,
+ stop_servers, stop_servers_local: Fix test of $VERBOSE_TEST so
+ that $VERBOSE only gets set if $VERBOSE_TEST is not empty.
+
Mon Nov 11 14:25:15 1996 Tom Yu <tlyu@mit.edu>
* init_db, save_files.sh, start_servers_local, stop_servers,
#!/bin/sh
# 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=
done
# 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
# files="/etc/inetd.conf /etc/syslog.conf /etc/krb.conf \
# /etc/krb.realms /etc/passwd /etc/services /etc/v5srvtab \
DUMMY=${RSH_CMD=rsh}
# 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
local=1
$STOP_SERVERS_LOCAL -start_servers
# 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=
DUMMY=${RESTORE_FILES=$TESTDIR/scripts/restore_files.sh}
# 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
local=1
DUMMY=${RESTORE_FILES=$TESTDIR/scripts/restore_files.sh}
# 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
v4files=false
while [ $# -gt 0 ] ; do