mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
ac03e43364
unittest/examples/core-t.c: BitKeeper file /users/mkindahl/mysql-5.1-clone/unittest/examples/core-t.c
19 lines
308 B
C
19 lines
308 B
C
|
|
#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();
|
|
}
|