test: use assert_se() instead of assert()

This commit is contained in:
Yu Watanabe
2021-10-12 15:20:28 +09:00
parent 1c71302f70
commit f21b863eeb
44 changed files with 131 additions and 131 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ static void test_read_etc_hostname(void) {
int fd;
fd = mkostemp_safe(path);
assert(fd > 0);
assert_se(fd > 0);
close(fd);
/* simple hostname */