From 4326155c0b0e4aecdb00d7878ca556b48c3ba3a4 Mon Sep 17 00:00:00 2001 From: "sonmi%netscape.com" Date: Thu, 21 Dec 2000 19:42:23 +0000 Subject: [PATCH] bugfix for .nssqa file in results directory --- security/nss/tests/nssqa | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/security/nss/tests/nssqa b/security/nss/tests/nssqa index 424d4b23e60..28f5a9b1ad7 100755 --- a/security/nss/tests/nssqa +++ b/security/nss/tests/nssqa @@ -38,10 +38,11 @@ WIN_WAIT_FOREVER=ON # first we wait forever for a TESTDIR to appear, than is_running ${TMP}/nssqa # checks if the file exists, if yes Exits, if not # creates to implement a primitive locking mechanism -if [ $O_CRON = "OFF" ] # if we are running from cron this has been done -then - set_host # sets the HOST and DOMSUF variables - carefull, -fi # hardcoded to redplanet +#if [ $O_CRON = "OFF" -a $O_WIN = "OFF" ] # if we are running from cron + # or on windows this has been done +#then + #set_host # sets the HOST and DOMSUF variables - carefull, +#fi # hardcoded to redplanet KILL_SELFSERV=ON # cleanup will also kill the leftover selfserv processes @@ -97,13 +98,16 @@ run_all() all.sh >/dev/null 2>/dev/null fi else - if [ $O_FILE = ON ] #FIXME - write to tmp file and copy - then - all.sh 2>&1 | tee $TMP_ALL_SH_OUT - cat $TMP_ALL_SH_OUT >>$FILENAME - else + #if [ $O_FILE = ON ] #FIXME - write to tmp file and copy + #then + #all.sh 2>&1 | tee $TMP_ALL_SH_OUT + #if [ -r $TMP_ALL_SH_OUT ] + #then + #cat $TMP_ALL_SH_OUT >>$FILENAME + #fi + #else all.sh - fi + #fi fi Debug "Done with all.sh " line