summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-26 19:03:38 -0400
committerDavid Robillard <d@drobilla.net>2024-06-26 19:03:38 -0400
commit1acd13b7b45e3052dd207ae3258e2aaca3b74b13 (patch)
tree18fe2561d99cd03f6dc0fd7ae7ec74d5371978a6 /test
parentaec0d760835219f91eb483c68ef7b2c8f9e8597e (diff)
downloadzix-1acd13b7b45e3052dd207ae3258e2aaca3b74b13.tar.gz
zix-1acd13b7b45e3052dd207ae3258e2aaca3b74b13.tar.bz2
zix-1acd13b7b45e3052dd207ae3258e2aaca3b74b13.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/test_filesystem.c4
1 files changed, 1 insertions, 3 deletions
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);