diff options
author | sonmi%netscape.com <devnull@localhost> | 2000-12-16 02:46:44 +0000 |
---|---|---|
committer | sonmi%netscape.com <devnull@localhost> | 2000-12-16 02:46:44 +0000 |
commit | 6d60c0c35ae403a23a15db4a25bd8ed5e5287d5f (patch) | |
tree | 77a4b7cf0bdd8f8a6094c3e2ae97c4f838d7ab39 /security/nss/tests/nssqa | |
parent | 754aff57b1d49cc3c4fef8b0037813b8b0619df9 (diff) | |
download | nss-hg-6d60c0c35ae403a23a15db4a25bd8ed5e5287d5f.tar.gz |
fixed various bugs
Diffstat (limited to 'security/nss/tests/nssqa')
-rwxr-xr-x | security/nss/tests/nssqa | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/security/nss/tests/nssqa b/security/nss/tests/nssqa index d445494ba..424d4b23e 100755 --- a/security/nss/tests/nssqa +++ b/security/nss/tests/nssqa @@ -47,6 +47,9 @@ KILL_SELFSERV=ON # cleanup will also kill the leftover selfserv processes #. `dirname $0`/nssqa.header #derived from init.sh +TMP_ALL_SH_OUT=${TMP}/nssqa_all_sh_out.$$ #redirecting all.sh's output +TMPFILES="$TMPFILES $TMP_ALL_SH_OUT" + ################################ check_distdir ######################### # local shell function to check if the DIST directory exists, if not there # is no use to continue the test @@ -94,12 +97,13 @@ run_all() all.sh >/dev/null 2>/dev/null fi else - #if [ $O_DEBUG = ON -a $O_FILE = ON ] #FIXME - write to tmp file and copy - #then - #all.sh 2>&1 | tee $FILENAME - #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 all.sh - #fi + fi fi Debug "Done with all.sh " line @@ -110,6 +114,12 @@ all_sh() echo } + +############################# nssqa_main ############################### +# local shell function main controlling function of the nss qa +######################################################################## +nssqa_main() +{ # determine if all needed symbolic links are present, in case # we build on one platform and QA on another @@ -234,3 +244,12 @@ else fi Exit "Done." +} + +if [ $O_FILE = ON ] +then + nssqa_main 2>>$FILENAME +else + nssqa_main +fi + |