projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd56842
)
test: add one more assertion to make Coverty happy
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 9 May 2021 05:16:11 +0000
(14:16 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 9 May 2021 05:33:59 +0000
(14:33 +0900)
Fixes CID#
1452934
.
src/test/test-strbuf.c
patch
|
blob
|
history
diff --git
a/src/test/test-strbuf.c
b/src/test/test-strbuf.c
index 0cdef3fb729fec904740808599eeb623d283ae69..a7c2f83c731d44f27124769ef315028048783a27 100644
(file)
--- a/
src/test/test-strbuf.c
+++ b/
src/test/test-strbuf.c
@@
-29,6
+29,7
@@
static void test_strbuf(void) {
/* check the content of the buffer directly */
l = strv_parse_nulstr(sb->buf, sb->len);
+ assert_se(l);
assert_se(streq(l[0], "")); /* root */
assert_se(streq(l[1], "waldo"));