Adding missing file
This commit is contained in:
parent
c120c4c625
commit
0b7dc2689d
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();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user