From 26d14295a1e3ae5039dbcb435bb1740d25bd24b5 Mon Sep 17 00:00:00 2001 From: Annamalai Gurusami Date: Wed, 26 Jun 2013 10:02:42 +0530 Subject: [PATCH] Bug #16994338 PARSING TAP OUTPUT OF UNIT TEST EXPLAIN_FILENAME-T FAILS Problem: The problem is that explain_filename-t is not printing a test plan as required by the TAP protocol. The test invokes plan(NO_PLAN) but does not invoke exit_status() at the end, where the plan would be printed. Solution: Invoke exit_status() at the end. --- unittest/mysys/explain_filename-t.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/mysys/explain_filename-t.cc b/unittest/mysys/explain_filename-t.cc index 7eda24fe5db..4f09f65f0a7 100644 --- a/unittest/mysys/explain_filename-t.cc +++ b/unittest/mysys/explain_filename-t.cc @@ -158,6 +158,6 @@ int main() "\"test\".\"t@0023#\"", EXPLAIN_PARTITIONS_AS_COMMENT); - return 0; + return exit_status(); }