diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-17 02:29:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-17 02:29:20 +0200 |
commit | 3223f44f2312d01113a9c51f898528041cc7bd8d (patch) | |
tree | 5cfe8995ea210281b552f7526563ef98018f4030 /src/journal/test-journal-verify.c | |
parent | e627440b41bb0284e4892f7aa9d84c77972487e2 (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.c | 3 |
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); |