diff options
-rwxr-xr-x | distribution/addrepo/runtest.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/distribution/addrepo/runtest.sh b/distribution/addrepo/runtest.sh index 8bb53b6..6f0f70d 100755 --- a/distribution/addrepo/runtest.sh +++ b/distribution/addrepo/runtest.sh @@ -2,10 +2,11 @@ if [ -z "$REPOURL" ]; then echo "You need to specify \$REPOURL" +rstrnt-report-result $RSTRNT_TASKNAME FAIL exit 1 fi -REPONAME=${REPONAME:="postrepo0"} +REPONAME=${REPONAME:="postrepo_${RSTRNT_TASKID}"} cat << EOF >/etc/yum.repos.d/${REPONAME}.repo [${REPONAME}] name=${REPONAME} @@ -15,4 +16,5 @@ gpgcheck=0 skip_if_unavailable=1 EOF +rstrnt-report-result $RSTRNT_TASKNAME PASS exit 0 |