summaryrefslogtreecommitdiff
path: root/src/journal/test-journal-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/test-journal-send.c')
-rw-r--r--src/journal/test-journal-send.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/journal/test-journal-send.c b/src/journal/test-journal-send.c
index 9d376d1e56..e708fa4406 100644
--- a/src/journal/test-journal-send.c
+++ b/src/journal/test-journal-send.c
@@ -32,5 +32,10 @@ int main(int argc, char *argv[]) {
"VALUE=%i", 7,
NULL);
+ errno = ENOENT;
+ sd_journal_perror("Foobar");
+
+ sd_journal_perror("");
+
return 0;
}