diff options
author | mkindahl@dl145h.mysql.com <> | 2006-08-25 16:11:22 +0200 |
---|---|---|
committer | mkindahl@dl145h.mysql.com <> | 2006-08-25 16:11:22 +0200 |
commit | 0b7dc2689d64990c155afba76b8a0c9b40134fec (patch) | |
tree | 8063fae3b5e018ebe6ef2d21c0d5b76fdec1aa56 /unittest | |
parent | c120c4c625cb4283fe710c7bd67f7ffd293a0f23 (diff) | |
download | mariadb-git-0b7dc2689d64990c155afba76b8a0c9b40134fec.tar.gz |
Adding missing file
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/examples/core-t.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/unittest/examples/core-t.c b/unittest/examples/core-t.c new file mode 100644 index 00000000000..3572d72868b --- /dev/null +++ b/unittest/examples/core-t.c @@ -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(); +} |