mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:21:59 +01:00
1192fc3218
Signed-off-by: Janos SUTO <sj@acts.hu>
25 lines
599 B
C
25 lines
599 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <sys/time.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/socket.h>
|
|
#include <netdb.h>
|
|
#include <arpa/inet.h>
|
|
#include <netinet/in.h>
|
|
#include <fcntl.h>
|
|
#include <locale.h>
|
|
#include <getopt.h>
|
|
#include <stdbool.h>
|
|
#include <assert.h>
|
|
#include <openssl/ssl.h>
|
|
#include <openssl/err.h>
|
|
#include "../src/piler.h"
|
|
|
|
|
|
#define ASSERT(expr, value) if (!(expr)) { printf("assert failed: '%s'\n", value); abort(); } else { printf("."); }
|
|
#define TEST_HEADER() printf("%s() ", __func__);
|
|
#define TEST_FOOTER() printf(" OK\n");
|
|
|