summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Burke <jburke@redhat.com>2006-08-12 13:54:41 +0000
committerJeff Burke <jburke@redhat.com>2006-08-12 13:54:41 +0000
commitc7f19926d358273e6039628c5c541133dfce6712 (patch)
treefd9d434a85a6dab3dcf22b8bdcc0cccf953262db
parentb37c793aeb237e3efe551baa8bce54c798468b0c (diff)
Modify test for new workflowrh-tests-distribution-reservesys-1_0-2
-rwxr-xr-xTasks/distribution/reservesys/runtest.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/Tasks/distribution/reservesys/runtest.sh b/Tasks/distribution/reservesys/runtest.sh
index 64914b0..a8d617a 100755
--- a/Tasks/distribution/reservesys/runtest.sh
+++ b/Tasks/distribution/reservesys/runtest.sh
@@ -34,6 +34,11 @@ MOTD()
echo "** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **" >> $FILE
}
+NOTIFY()
+{
+ mail -s "$HOSTNAME" $SUBMITTER < /etc/motd
+}
+
if [ -z "$RESERVETIME" ]; then
SLEEPTIME=24h
else
@@ -43,17 +48,19 @@ fi
if [ -z "$RESERVEBY" ]; then
SUBMITTER=Uknown
else
- SUBMITTER=$$RESERVEBY
+ SUBMITTER=$RESERVEBY
fi
echo "***** Start of reservesys test *****" > $OUTPUTFILE
MOTD
+NOTIFY
+
sleep $SLEEPTIME
echo "***** End of reservesys test *****" >> $OUTPUTFILE
-RprtRslt $TEST PASS $SCORE
+RprtRslt $TEST PASS 0
exit 0