diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-10 00:15:22 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-12 08:34:59 -0600 |
commit | a10dbdf20ff0f3ceffc0eb3ff478504ccb475752 (patch) | |
tree | c576df3c3bc8f800322e05ab4207479ebb2f8da7 /lib9p/tests/test_server/main.c | |
parent | c9a88db380c6aa765105e53b81a82bc11d807d45 (diff) |
lib9p: Add Tflush tests
Diffstat (limited to 'lib9p/tests/test_server/main.c')
-rw-r--r-- | lib9p/tests/test_server/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib9p/tests/test_server/main.c b/lib9p/tests/test_server/main.c index 01a1738..e5e54e9 100644 --- a/lib9p/tests/test_server/main.c +++ b/lib9p/tests/test_server/main.c @@ -20,6 +20,7 @@ #include "static.h" #include "fs_shutdown.h" +#include "fs_slowread.h" /* configuration **************************************************************/ @@ -74,6 +75,10 @@ struct lib9p_srv_file root = API_FILE("shutdown", shutdown, .listeners = globals.listeners, .nlisteners = LM_ARRAY_LEN(globals.listeners)), + API_FILE("slowread", slowread, + .flushable = false), + API_FILE("slowread-flushable", slowread, + .flushable = true), ); static lo_interface lib9p_srv_file get_root(struct lib9p_srv_ctx *LM_UNUSED(ctx), struct lib9p_s LM_UNUSED(treename)) { |