summaryrefslogtreecommitdiff
path: root/regress/unittests
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-12-19 04:55:18 +0000
committerDamien Miller <djm@mindrot.org>2016-12-19 15:59:40 +1100
commit3a8213ea0ed843523e34e55ab9c852332bab4c7b (patch)
tree3cd69aae3595a2f0730f4e39c977e35af0535160 /regress/unittests
parenteae735a82d759054f6ec7b4e887fb7a5692c66d7 (diff)
upstream commit
remove testcase that depends on exact output and behaviour of snprintf(..., "%s", NULL) Upstream-Regress-ID: cab4288531766bd9593cb556613b91a2eeefb56f
Diffstat (limited to 'regress/unittests')
-rw-r--r--regress/unittests/utf8/tests.c3
1 files changed, 1 insertions, 2 deletions
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 @@
1/* $OpenBSD: tests.c,v 1.2 2016/05/30 12:05:56 schwarze Exp $ */ 1/* $OpenBSD: tests.c,v 1.3 2016/12/19 04:55:18 djm Exp $ */
2/* 2/*
3 * Regress test for the utf8.h *mprintf() API 3 * Regress test for the utf8.h *mprintf() API
4 * 4 *
@@ -65,7 +65,6 @@ tests(void)
65 TEST_DONE(); 65 TEST_DONE();
66 66
67 badarg(); 67 badarg();
68 one("null", NULL, 8, 6, 6, "(null)");
69 one("empty", "", 2, 0, 0, ""); 68 one("empty", "", 2, 0, 0, "");
70 one("ascii", "x", -2, -2, -2, "x"); 69 one("ascii", "x", -2, -2, -2, "x");
71 one("newline", "a\nb", -2, -2, -2, "a\nb"); 70 one("newline", "a\nb", -2, -2, -2, "a\nb");