diff --git a/testcases/cli-test/testng/oe_test_testNG_annotations_assert/oe_test_testNG_annotations_assert.sh b/testcases/cli-test/testng/oe_test_testNG_annotations_assert/oe_test_testNG_annotations_assert.sh index d42983fe812f50acec145c81922df6cce2b694a4..9fdd43520a2b128c36a80e0e2566aad8e9783d65 100644 --- a/testcases/cli-test/testng/oe_test_testNG_annotations_assert/oe_test_testNG_annotations_assert.sh +++ b/testcases/cli-test/testng/oe_test_testNG_annotations_assert/oe_test_testNG_annotations_assert.sh @@ -33,7 +33,7 @@ function run_test() { javac -d . ../common/TExpAssert.java CHECK_RESULT $? 0 0 "java source code compilation failed." - java -cp "${CLASSPATH}" org.testng.TestNG TExpAssert.xml | grep "run: 9, Failures: 3, Skips: 0" + java -cp "${CLASSPATH}" org.testng.TestNG TExpAssert.xml | grep "run: 9, Passes: 6, Failures:3" CHECK_RESULT $? 0 0 "testng execution use case failed." LOG_INFO "End to run test."