From 6ee4f1c01ee31e65245881d49d4bccf014956066 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 23 Aug 2016 16:33:48 +1000 Subject: hook match and utf8 unittests up to Makefile --- regress/unittests/utf8/tests.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'regress/unittests/utf8/tests.c') diff --git a/regress/unittests/utf8/tests.c b/regress/unittests/utf8/tests.c index fad2ec279..6d06fa182 100644 --- a/regress/unittests/utf8/tests.c +++ b/regress/unittests/utf8/tests.c @@ -6,10 +6,12 @@ * and placed in the public domain. */ +#include "includes.h" + #include #include -#include "test_helper.h" +#include "../test_helper/test_helper.h" #include "utf8.h" -- cgit v1.2.3 From 3a8213ea0ed843523e34e55ab9c852332bab4c7b Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Mon, 19 Dec 2016 04:55:18 +0000 Subject: upstream commit remove testcase that depends on exact output and behaviour of snprintf(..., "%s", NULL) Upstream-Regress-ID: cab4288531766bd9593cb556613b91a2eeefb56f --- regress/unittests/utf8/tests.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'regress/unittests/utf8/tests.c') diff --git a/regress/unittests/utf8/tests.c b/regress/unittests/utf8/tests.c index 6d06fa182..31f9fe9c3 100644 --- a/regress/unittests/utf8/tests.c +++ b/regress/unittests/utf8/tests.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tests.c,v 1.2 2016/05/30 12:05:56 schwarze Exp $ */ +/* $OpenBSD: tests.c,v 1.3 2016/12/19 04:55:18 djm Exp $ */ /* * Regress test for the utf8.h *mprintf() API * @@ -65,7 +65,6 @@ tests(void) TEST_DONE(); badarg(); - one("null", NULL, 8, 6, 6, "(null)"); one("empty", "", 2, 0, 0, ""); one("ascii", "x", -2, -2, -2, "x"); one("newline", "a\nb", -2, -2, -2, "a\nb"); -- cgit v1.2.3