tests: More refactoring, add helper header to every test, override exit for better error reporting
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "test_helpers.h"
|
||||
|
||||
int main(void) {
|
||||
system("echo test of system");
|
||||
int status = system("echo test of system");
|
||||
ERROR_IF(system, status, == -1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user