summaryrefslogtreecommitdiff
path: root/src/journal/test-journal-verify.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-17 02:29:20 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-17 02:29:20 +0200
commit3223f44f2312d01113a9c51f898528041cc7bd8d (patch)
tree5cfe8995ea210281b552f7526563ef98018f4030 /src/journal/test-journal-verify.c
parente627440b41bb0284e4892f7aa9d84c77972487e2 (diff)
journal: show new header fields in header dump
Diffstat (limited to 'src/journal/test-journal-verify.c')
-rw-r--r--src/journal/test-journal-verify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/journal/test-journal-verify.c b/src/journal/test-journal-verify.c
index 8a7d998ff9..9a99bcba4b 100644
--- a/src/journal/test-journal-verify.c
+++ b/src/journal/test-journal-verify.c
@@ -68,6 +68,9 @@ int main(int argc, char *argv[]) {
log_info("Verifying...");
assert_se(journal_file_open("test.journal", O_RDONLY, 0666, false, false, NULL, NULL, NULL, &f) == 0);
+
+ journal_file_print_header(f);
+
assert_se(journal_file_verify(f, verification_key) >= 0);
journal_file_close(f);