diff options
| author | shm <shm@NetBSD.org> | 2014-06-06 06:59:21 +0000 |
|---|---|---|
| committer | shm <shm@NetBSD.org> | 2014-06-06 06:59:21 +0000 |
| commit | a9ace1f36145ab586c4f6f2a1ca4ebb3bed40647 (patch) | |
| tree | d1214e094bfd515dd65cbfd240fa5c62f1cb422a /tests/lib/libutil | |
| parent | 308764020269b54294bef48410280f950650a726 (diff) | |
PR/48517 testcase provided by Felix Deichmann
Diffstat (limited to 'tests/lib/libutil')
| -rw-r--r-- | tests/lib/libutil/t_snprintb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/libutil/t_snprintb.c b/tests/lib/libutil/t_snprintb.c index 6ccfca8397d..8863e8b1365 100644 --- a/tests/lib/libutil/t_snprintb.c +++ b/tests/lib/libutil/t_snprintb.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_snprintb.c,v 1.3 2013/08/08 05:10:07 pgoyette Exp $ */ +/* $NetBSD: t_snprintb.c,v 1.4 2014/06/06 06:59:21 shm Exp $ */ /* * Copyright (c) 2002, 2004, 2008, 2010 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> __COPYRIGHT("@(#) Copyright (c) 2008, 2010\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: t_snprintb.c,v 1.3 2013/08/08 05:10:07 pgoyette Exp $"); +__RCSID("$NetBSD: t_snprintb.c,v 1.4 2014/06/06 06:59:21 shm Exp $"); #include <string.h> #include <util.h> @@ -59,6 +59,7 @@ ATF_TC_HEAD(snprintb, tc) ATF_TC_BODY(snprintb, tc) { h_snprintb("\10\2BITTWO\1BITONE", 3, "03<BITTWO,BITONE>"); + h_snprintb("\177\20b\0A\0\0", 0, "0x0"); h_snprintb("\177\20b\05NOTBOOT\0b\06FPP\0b\013SDVMA\0b\015VIDEO\0" "b\020LORES\0b\021FPA\0b\022DIAG\0b\016CACHE\0" |
