upstream: deal with API rename: match_filter_list() =>

match_filter_blacklist()

OpenBSD-Regress-ID: 2da342be913efeb51806351af906fab01ba4367f
This commit is contained in:
djm@openbsd.org 2018-07-04 13:51:45 +00:00 committed by Damien Miller
parent 89f54cdf6b
commit 314908f451
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: tests.c,v 1.4 2017/02/03 23:01:42 djm Exp $ */
/* $OpenBSD: tests.c,v 1.5 2018/07/04 13:51:45 djm Exp $ */
/*
* Regress test for matching functions
*
@ -105,7 +105,7 @@ tests(void)
#define CHECK_FILTER(string,filter,expected) \
do { \
char *result = match_filter_list((string), (filter)); \
char *result = match_filter_blacklist((string), (filter)); \
ASSERT_STRING_EQ(result, expected); \
free(result); \
} while (0)