summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2014-04-24 14:44:31 -0400
committerBill Peck <bpeck@redhat.com>2014-04-24 14:44:31 -0400
commit5b639ff31124d8fd268c700a36446babcd2a37a0 (patch)
tree0dccb4f1c1ed09d848e838a5da4d696330039862
parentab52c9ecf09198e5660488c1479f66e74ce5409e (diff)
downloadtests-5b639ff31124d8fd268c700a36446babcd2a37a0.tar.gz
tests-5b639ff31124d8fd268c700a36446babcd2a37a0.tar.xz
tests-5b639ff31124d8fd268c700a36446babcd2a37a0.zip
fix SUBMITTER var and TEST var.
-rwxr-xr-xdistribution/reservesys/reservesys.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/distribution/reservesys/reservesys.sh b/distribution/reservesys/reservesys.sh
index 798e7b1..99a6d0a 100755
--- a/distribution/reservesys/reservesys.sh
+++ b/distribution/reservesys/reservesys.sh
@@ -170,6 +170,10 @@ EOF
echo "***** Start of reservesys test *****"
+if [ -n "$RESERVEBY" ]; then
+ SUBMITTER=$RESERVEBY
+fi
+
BUILD_()
{
# build the /etc/motd file
@@ -191,10 +195,6 @@ BUILD_()
RETURNSCRIPT
}
-if [ -n "$RESERVEBY" ]; then
- SUBMITTER=$RESERVEBY
-fi
-
# Only do initial setup once at beginning
if [ -n "$RSTRNT_REBOOTCOUNT" ]; then
if [ $RSTRNT_REBOOTCOUNT -eq 0 ]; then
@@ -208,7 +208,7 @@ if [ -n "$RSTRNT_REBOOTCOUNT" ]; then
BUILD_
- RprtRslt $TEST PASS 0
+ RprtRslt $RSTRNT_TASKNAME PASS 0
fi
fi