summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsonja.mirtitsch%sun.com <devnull@localhost>2001-11-15 19:01:16 +0000
committersonja.mirtitsch%sun.com <devnull@localhost>2001-11-15 19:01:16 +0000
commit944970505e90f39f4610e808033abe633e714f37 (patch)
tree56550efd1a7210dd7d6e2e2e873acd816efcccbc
parent565867d31382efb16152aeda2ad5f4c6c4b128f9 (diff)
downloadnss-hg-944970505e90f39f4610e808033abe633e714f37.tar.gz
added sendmail, fixed sendmailbug
-rwxr-xr-xsecurity/nss/tests/qa_stage18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/nss/tests/qa_stage b/security/nss/tests/qa_stage
index 9e957deed..763a61720 100755
--- a/security/nss/tests/qa_stage
+++ b/security/nss/tests/qa_stage
@@ -17,6 +17,10 @@ if [ -z "$BUILDNUMBER" ]
then
BUILDNUMBER=1
fi
+if [ `uname` = "Linux" ] ; then
+ PATH=".:/u/sonmi/bin:/u/sonmi/bin/linux:/usr/bsd:/usr/ucb/:/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/usr/bin/X11:/usr/etc:/etc:/usr/demos:/usr/demos/bin:/usr/local/bin:/usr/local/X11/bin:/tools/ns/bin"
+ export PATH
+fi
Echo()
{
@@ -189,6 +193,7 @@ eval_opts()
DO_CLEAN=OFF
O_SILENT=OFF
O_INCREMENTAL=OFF
+ O_MAIL=OFF
BUILDDATE=`date +%m%d`
NSSVER=tip
@@ -200,6 +205,16 @@ eval_opts()
-d)
DO_DQA=ON
;;
+ -m)
+ O_MAIL=ON
+ shift
+ MAILINGLIST=$1
+ if [ -z "$MAILINGLIST" ]
+ then
+ echo "Error: -m requires a mailinglist to follow, for example sonmi@iplanet.com"
+ exit
+ fi
+ ;;
-ti)
DO_TBX=ON
match_tbxdirs 2
@@ -235,6 +250,9 @@ if [ "$DO_CLEAN" = "ON" ] ; then
fi
if [ "$DO_DQA" = "ON" ] ; then
qa_stage_dqa
+ if [ "$O_MAIL" = "ON" ] ; then
+ cat $DQA_STAGE/result.html | /usr/sbin/sendmail $MAILINGLIST
+ fi
fi
if [ "$DO_TBX" = "ON" ] ; then
qa_stage_tbx