From 1acd13b7b45e3052dd207ae3258e2aaca3b74b13 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 26 Jun 2024 19:03:38 -0400 Subject: Improve test coverage This situation probably should be reported, but 100% line coverage is very convenient since it makes coverage regression more obvious. I don't think a test being skipped on an esoteric system configuration is worth losing that. --- test/test_filesystem.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/test_filesystem.c') diff --git a/test/test_filesystem.c b/test/test_filesystem.c index 87a3d15..e6180fb 100644 --- a/test/test_filesystem.c +++ b/test/test_filesystem.c @@ -172,9 +172,7 @@ test_file_type(void) assert(!zix_remove(file_path)); close(fd); } - } else { - fprintf(stderr, "warning: Skipped socket test with oddly long TMPDIR\n"); - } + } // otherwise, TMPDIR is oddly long, skip test close(sock); free(addr); -- cgit v1.2.1