1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/test-src/test_util.c

16 lines
227 B
C
Raw Normal View History

2019-01-27 02:45:03 +00:00
#include "test_util.h"
#include <stdio.h>
#include <stdlib.h>
void fail(
char const * file_name,
int line,
char const * message
)
{
fprintf(stderr, "error: %s:%d: %s\n", file_name, line, message);
exit(EXIT_FAILURE);
}