diff options
Diffstat (limited to 'usr/src/test/util-tests/tests/bunyan/btest.c')
-rw-r--r-- | usr/src/test/util-tests/tests/bunyan/btest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/test/util-tests/tests/bunyan/btest.c b/usr/src/test/util-tests/tests/bunyan/btest.c index 5239e91f1e..f6be13afa2 100644 --- a/usr/src/test/util-tests/tests/bunyan/btest.c +++ b/usr/src/test/util-tests/tests/bunyan/btest.c @@ -247,6 +247,8 @@ child_log(void) BUNYAN_T_INT64STR, "i64s", (uint64_t)12345, BUNYAN_T_UINT64STR, "u64s", (uint64_t)54321, BUNYAN_T_END) == 0); + assert(bunyan_key_remove(a, "p") == ENOENT); + bunyan_fini(a); assert(bunyan_trace(child, "trace", BUNYAN_T_END) == 0); assert(bunyan_debug(child, "debug", BUNYAN_T_END) == 0); @@ -255,6 +257,8 @@ child_log(void) assert(bunyan_error(child, "error", BUNYAN_T_END) == 0); assert(bunyan_fatal(child, "fatal", BUNYAN_T_END) == 0); + assert(bunyan_key_remove(child, "p") == 0); + bunyan_fini(child); } |