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

Commit 8aa4828

Browse files
Kokil Jainarindam-bandyopadhyay
authored andcommitted
Fixes #21830: Added merge function in run_test.sh of security devtests (#21842)
1 parent 594fbb6 commit 8aa4828

File tree

1 file changed

+6
-0
lines changed
  • appserver/tests/appserv-tests/devtests/security

1 file changed

+6
-0
lines changed

appserver/tests/appserv-tests/devtests/security/run_test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ get_test_target(){
8282

8383
}
8484

85+
merge_result_files(){
86+
cat $APS_HOME/test_resultsValid.xml $APS_HOME/security-gtest-results.xml > $APS_HOME/temp.xml
87+
mv $APS_HOME/temp.xml $APS_HOME/test_resultsValid.xml
88+
}
89+
8590
run_test_id(){
8691
source `dirname $0`/../../../common_test.sh
8792
kill_process
@@ -92,6 +97,7 @@ run_test_id(){
9297
test_init
9398
get_test_target $1
9499
test_run
100+
merge_result_files
95101
check_successful_run
96102
generate_junit_report $1
97103
change_junit_report_class_names

0 commit comments

Comments
 (0)