From: dtucker@openbsd.org Date: Wed, 15 Jul 2020 06:43:16 +0000 (+0000) Subject: upstream: Fix previous by calling the correct function. X-Git-Tag: V_8_4_P1~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c9ddc1391d6af8d09580a2424ab467d0a5df3c7;p=thirdparty%2Fopenssh-portable.git upstream: Fix previous by calling the correct function. OpenBSD-Regress-ID: 821cdd1dff9c502cceff4518b6afcb81767cad5a --- diff --git a/regress/unittests/match/tests.c b/regress/unittests/match/tests.c index fdadb6b9c..4fefaf4f3 100644 --- a/regress/unittests/match/tests.c +++ b/regress/unittests/match/tests.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tests.c,v 1.6 2020/07/15 05:36:50 dtucker Exp $ */ +/* $OpenBSD: tests.c,v 1.7 2020/07/15 06:43:16 dtucker Exp $ */ /* * Regress test for matching functions * @@ -105,7 +105,7 @@ tests(void) #define CHECK_FILTER(string,filter,expected) \ do { \ - char *result = match_filter_allowlist((string), (filter)); \ + char *result = match_filter_denylist((string), (filter)); \ ASSERT_STRING_EQ(result, expected); \ free(result); \ } while (0)