Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit 5f02589

Browse files
Merge pull request #21733 from sameer-pandit/ctsFix
fix cts category in junit xmls
2 parents 23b5bcc + 60060fc commit 5f02589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/appserver/tests/cts_smoke/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ cts_to_junit(){
217217
line=`echo $i | ${SED} s@"\.\.\.\.\.\.\.\."@" "@g`
218218
status=`echo $line | ${AWK} '{print $1}'`
219219
id=`echo $line | ${AWK} '{print $2}'`
220-
classname=`echo $id | cut -d '#' -f1 | ${SED} s@"\/"@"."@g`
220+
classname=`echo $id | cut -d '#' -f1 | ${SED} s@"\/"@"_"@g | ${SED} s@".java"@@g`
221221
name=`echo $id | cut -d '#' -f2`
222222

223223
echo " <testcase classname=\"${junitCategory}.$classname\" name=\"$name\">" >> $2

0 commit comments

Comments
 (0)