Loading unittest/examples/core-t.c 0 → 100644 +19 −0 Original line number Diff line number Diff line #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
unittest/examples/core-t.c 0 → 100644 +19 −0 Original line number Diff line number Diff line #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(); }