summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/atf-c.h
diff options
context:
space:
mode:
authormbuhl <>2022-05-28 18:39:39 +0000
committermbuhl <>2022-05-28 18:39:39 +0000
commit896be5903d96e243d859abf5dd57f10e1d2623ac (patch)
tree1925d9ba9e9792d00f3732cf5f195c23b844fbe9 /src/regress/lib/libc/sys/atf-c.h
parent5b26a40b3eca765568e5053658c769a404fb127a (diff)
downloadopenbsd-896be5903d96e243d859abf5dd57f10e1d2623ac.tar.gz
openbsd-896be5903d96e243d859abf5dd57f10e1d2623ac.tar.bz2
openbsd-896be5903d96e243d859abf5dd57f10e1d2623ac.zip
*** empty log message ***
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libc/sys/atf-c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libc/sys/atf-c.h b/src/regress/lib/libc/sys/atf-c.h
index c10628be26..1a0f29d673 100644
--- a/src/regress/lib/libc/sys/atf-c.h
+++ b/src/regress/lib/libc/sys/atf-c.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: atf-c.h,v 1.3 2021/09/02 12:40:44 mbuhl Exp $ */ 1/* $OpenBSD: atf-c.h,v 1.4 2022/05/28 18:39:39 mbuhl Exp $ */
2/* 2/*
3 * Copyright (c) 2019 Moritz Buhl <openbsd@moritzbuhl.de> 3 * Copyright (c) 2019 Moritz Buhl <openbsd@moritzbuhl.de>
4 * 4 *
@@ -80,7 +80,7 @@ ATF_TC_FUNCTIONS(fn)
80#define ATF_CHECK_STREQ ATF_REQUIRE_STREQ 80#define ATF_CHECK_STREQ ATF_REQUIRE_STREQ
81 81
82#define atf_req(exp, err, msg, ...) \ 82#define atf_req(exp, err, msg, ...) \
83 atf_require(exp, err, #exp, __FILE__, __LINE__, NULL) 83 atf_require(exp, err, #exp, __FILE__, __LINE__, msg, ##__VA_ARGS__)
84#define ATF_REQUIRE(exp) atf_req(exp, -1, NULL) 84#define ATF_REQUIRE(exp) atf_req(exp, -1, NULL)
85#define ATF_REQUIRE_ERRNO(no, exp) atf_req(exp, no, NULL) 85#define ATF_REQUIRE_ERRNO(no, exp) atf_req(exp, no, NULL)
86#define ATF_REQUIRE_MSG(exp, fmt, ...) atf_req(exp, -1, fmt, ##__VA_ARGS__) 86#define ATF_REQUIRE_MSG(exp, fmt, ...) atf_req(exp, -1, fmt, ##__VA_ARGS__)