diff options
author | Annamalai Gurusami <annamalai.gurusami@oracle.com> | 2013-06-26 10:02:42 +0530 |
---|---|---|
committer | Annamalai Gurusami <annamalai.gurusami@oracle.com> | 2013-06-26 10:02:42 +0530 |
commit | 45a3854af72472bc403326470371d413d7e0031c (patch) | |
tree | 0ead01b01ea26495541828beabb33775e3907f71 /unittest | |
parent | 3684c2b182cc9044d27d5f2fcc6c2486ffddf2d6 (diff) | |
download | mariadb-git-45a3854af72472bc403326470371d413d7e0031c.tar.gz |
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.
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/mysys/explain_filename-t.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |