Skip to content

Commit

Permalink
Update testHeadlessComponents.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
andrlos authored Nov 27, 2023
1 parent 7b223d7 commit 93762ef
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions testHeadlessComponents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,16 +228,10 @@ done
let "TESTS = $FAILED + $PASSED + $IGNORED"

XMLREPORT=$TMPRESULTS/testHeadlessComponent.jtr.xml
if [ "$OS" == "windows" ]; then
printXmlHeader $PASSED $FAILED $TESTS $IGNORED "testHeadlessComponent" | Out-File -FilePath $XMLREPORT
echo "$BODY" | Out-File -FilePath $XMLREPORT
printXmlFooter | Out-File -FilePath $XMLREPORT
ls $XMLREPORT
else
printXmlHeader $PASSED $FAILED $TESTS $IGNORED "testHeadlessComponent" > $XMLREPORT
echo "$BODY" >> $XMLREPORT
printXmlFooter >> $XMLREPORT
fi
printXmlHeader $PASSED $FAILED $TESTS $IGNORED "testHeadlessComponent" > $XMLREPORT
echo "$BODY" >> $XMLREPORT
printXmlFooter >> $XMLREPORT
ls -la $XMLREPORT

ls

Expand Down

0 comments on commit 93762ef

Please sign in to comment.