QAstatus file now made at the right place (global Exit()) and putting

killed info in as well
partial fix for 122632 r=wtc
This commit is contained in:
sonja.mirtitsch%sun.com 2002-02-08 01:50:26 +00:00
Родитель d15ebe6a3f
Коммит 2d5741ee27
2 изменённых файлов: 11 добавлений и 6 удалений

Просмотреть файл

@ -1323,7 +1323,18 @@ Exit()
fi
#chmod a+rw ${RESULTDIR} ${RESULTDIR}/* ${RESULTDIR}/*/* &
if [ -n "$O_TBX" -a "$O_TBX" = "ON" ] ; then
rm ${TESTDIR}/QAstatus
if [ "$1" = "killed... cleaning up..." ] ; then
echo "QA killed" >${TESTDIR}/QAstatus
elif [ "$TBX_EXIT" = 0 ] ; then
echo "QA passed" >${TESTDIR}/QAstatus
else
echo "QA failed" >${TESTDIR}/QAstatus
fi
exit $TBX_EXIT
else
exit
fi

Просмотреть файл

@ -928,12 +928,6 @@ qa_stat_init
if [ "$O_TBX" = "ON" -o "$O_LOCAL" = "ON" ] ; then
tbx_main
rm $RESULTDIR/QAstatus
if [ $TBX_EXIT = 0 ] ; then
echo "QA passed" >${TESTDIR}/QAstatus
else
echo "QA failed" >${TESTDIR}/QAstatus
fi
else
qa_stat_main
fi