diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-01-14 06:49:17 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-01-14 06:49:17 +0000 |
commit | 63d1fd5970ec814904aa0f4580b10a0d302d08b2 (patch) | |
tree | 5f0c7c782c83b41c6850995c0c8a4033eb5dd0f5 /contrib/netbsd-tests/lib/libc/regex/t_regex_att.c | |
parent | ed2159c92c0214d224e13d4452e576a92d29911e (diff) | |
parent | a567518138e0e2fa7177c60e241e8b8e4bb468d5 (diff) |
Notes
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/t_regex_att.c')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/regex/t_regex_att.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/netbsd-tests/lib/libc/regex/t_regex_att.c b/contrib/netbsd-tests/lib/libc/regex/t_regex_att.c index 0ca44b47577e6..5f4353fa12405 100644 --- a/contrib/netbsd-tests/lib/libc/regex/t_regex_att.c +++ b/contrib/netbsd-tests/lib/libc/regex/t_regex_att.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_regex_att.c,v 1.1 2012/08/24 20:24:40 jmmv Exp $ */ +/* $NetBSD: t_regex_att.c,v 1.2 2017/01/14 00:50:56 christos Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_regex_att.c,v 1.1 2012/08/24 20:24:40 jmmv Exp $"); +__RCSID("$NetBSD: t_regex_att.c,v 1.2 2017/01/14 00:50:56 christos Exp $"); #include <sys/param.h> @@ -377,11 +377,7 @@ checkmatches(const char *matches, size_t nm, const regmatch_t *pm, " cur=%d, max=%zu", res, l, len - off); off += l; } -#ifdef __FreeBSD__ ATF_CHECK_STREQ_MSG(res, matches, " at line %zu", lineno); -#else - ATF_REQUIRE_STREQ_MSG(res, matches, " at line %zu", lineno); -#endif free(res); } |