diff options
author | unknown <mkindahl@dl145h.mysql.com> | 2006-08-25 16:11:22 +0200 |
---|---|---|
committer | unknown <mkindahl@dl145h.mysql.com> | 2006-08-25 16:11:22 +0200 |
commit | ac03e433646ed99e14f2c49ecd3204934e799b8c (patch) | |
tree | 8063fae3b5e018ebe6ef2d21c0d5b76fdec1aa56 /unittest | |
parent | ad7ce8831fb6399b37734e1e08221ffbc57331e7 (diff) | |
download | mariadb-git-ac03e433646ed99e14f2c49ecd3204934e799b8c.tar.gz |
Adding missing file
unittest/examples/core-t.c:
BitKeeper file /users/mkindahl/mysql-5.1-clone/unittest/examples/core-t.c
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(); +} |