Mercurial
comparison mrjunejune/test/test.h @ 168:f3084bca7317
[Misc] Fixed all errors and all tests should pass now.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 16:29:02 -0800 |
| parents | c1eab8c0b0f9 |
| children |
comparison
equal
deleted
inserted
replaced
| 167:589bab390fb4 | 168:f3084bca7317 |
|---|---|
| 9 #define TEST_PORT "6969" | 9 #define TEST_PORT "6969" |
| 10 #define TEST_HOST "127.0.0.1" | 10 #define TEST_HOST "127.0.0.1" |
| 11 #define TEST_URL "http://127.0.0.1:6969" | 11 #define TEST_URL "http://127.0.0.1:6969" |
| 12 #define MAX_RESPONSE_SIZE (1024 * 1024) | 12 #define MAX_RESPONSE_SIZE (1024 * 1024) |
| 13 #ifndef SNAPSHOT_DIR | 13 #ifndef SNAPSHOT_DIR |
| 14 #define SNAPSHOT_DIR "/Users/mrjunejune/zenbu/mrjunejune/test/snapshots" | 14 #define SNAPSHOT_DIR "/home/june/zenbu/mrjunejune/test/snapshots" |
| 15 #endif | 15 #endif |
| 16 | |
| 17 pid_t start_test_server(const char *server_binary); | |
| 18 void stop_test_server(pid_t server_pid); | |
| 19 | |
| 20 | 16 |
| 21 pid_t start_test_server(const char *server_binary) | 17 pid_t start_test_server(const char *server_binary) |
| 22 { | 18 { |
| 23 pid_t server_pid = fork(); | 19 pid_t server_pid = fork(); |
| 24 | 20 |