upstream commit

remove testcase that depends on exact output and
behaviour of snprintf(..., "%s", NULL)

Upstream-Regress-ID: cab4288531766bd9593cb556613b91a2eeefb56f
This commit is contained in:
djm@openbsd.org 2016-12-19 04:55:18 +00:00 committed by Damien Miller
parent eae735a82d
commit 3a8213ea0e
1 changed files with 1 additions and 2 deletions

View File

@ -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 * Regress test for the utf8.h *mprintf() API
* *
@ -65,7 +65,6 @@ tests(void)
TEST_DONE(); TEST_DONE();
badarg(); badarg();
one("null", NULL, 8, 6, 6, "(null)");
one("empty", "", 2, 0, 0, ""); one("empty", "", 2, 0, 0, "");
one("ascii", "x", -2, -2, -2, "x"); one("ascii", "x", -2, -2, -2, "x");
one("newline", "a\nb", -2, -2, -2, "a\nb"); one("newline", "a\nb", -2, -2, -2, "a\nb");