mirror of
https://github.com/MariaDB/server.git
synced 2025-06-13 13:01:51 +03:00
Adding missing file
unittest/examples/core-t.c: BitKeeper file /users/mkindahl/mysql-5.1-clone/unittest/examples/core-t.c
This commit is contained in:
19
unittest/examples/core-t.c
Normal file
19
unittest/examples/core-t.c
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
#include "my_config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <tap.h>
|
||||
|
||||
/*
|
||||
This is a simple test to demonstrate what happens if a signal that
|
||||
generates a core is raised.
|
||||
|
||||
Note that this test will stop all further testing!
|
||||
*/
|
||||
|
||||
int main() {
|
||||
plan(3);
|
||||
ok(1, "First test");
|
||||
abort();
|
||||
return exit_status();
|
||||
}
|
Reference in New Issue
Block a user