Home
last modified time | relevance | path

Searched refs:FMT_ERR (Results 1 – 2 of 2) sorted by relevance

/freebsd/tests/sys/file/
H A Dpath_test.c61 #define FMT_ERR(s) s ": %s", strerror(errno) macro
64 ATF_REQUIRE_MSG(close(fd) == 0, FMT_ERR("close"))
75 ATF_REQUIRE_MSG(fd >= 0, FMT_ERR("mkstemp")); in mktfile()
78 FMT_ERR("write")); in mktfile()
87 ATF_REQUIRE_MSG(mkdtemp(path) == path, FMT_ERR("mkdtemp")); in mktdir()
97 ATF_REQUIRE_MSG(error != -1, FMT_ERR("waitpid")); in waitchild()
117 ATF_REQUIRE_MSG(pathfd >= 0, FMT_ERR("open")); in ATF_TC_BODY()
128 ATF_REQUIRE_MSG(fstat(pathfd, &sb) == 0, FMT_ERR("fstat")); in ATF_TC_BODY()
130 FMT_ERR("fpathconf")); in ATF_TC_BODY()
146 ATF_REQUIRE_MSG(pathfd >= 0, FMT_ERR("open")); in ATF_TC_BODY()
[all …]
/freebsd/sys/netinet/libalias/
H A Dalias_nbt.c216 #define FMT_ERR 0x1 macro
228 case FMT_ERR: in PrintRcode()