summaryrefslogtreecommitdiffstats
path: root/test/test-journals
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-02-08 11:29:49 +0100
committerLennart Poettering <lennart@poettering.net>2023-03-02 10:18:24 +0100
commit4601c7aa8ff626f52de3f69b27602c6978bd84db (patch)
tree71139d713ef6268a6891ffba376bdc612f790cd0 /test/test-journals
parentjournal: use boot-id/timestamp info for odering entries (diff)
downloadsystemd-4601c7aa8ff626f52de3f69b27602c6978bd84db.tar.xz
systemd-4601c7aa8ff626f52de3f69b27602c6978bd84db.zip
test: add test for journals without RTC
This adds a test for checking we can safely order boot IDs via the timestamp of their most recent known entry. It takes a set of journal files (supplied by a user) and that are partially corrupted, and ensures we get a clear, defined order of boot IDs out of it.
Diffstat (limited to 'test/test-journals')
-rw-r--r--test/test-journals/1/system.journal.zstbin0 -> 297687 bytes
-rw-r--r--test/test-journals/1/system@0005ebbfd42fc981-39a8842ec948769a.journal~.zstbin0 -> 382554 bytes
-rw-r--r--test/test-journals/1/system@0005ebbfd4346b9f-43185b46162d9fa5.journal~.zstbin0 -> 403217 bytes
-rw-r--r--test/test-journals/1/system@0005ebbfd4385848-2e5dff5354ab9bcf.journal~.zstbin0 -> 288274 bytes
-rw-r--r--test/test-journals/1/user-1000.journal.zstbin0 -> 64937 bytes
-rw-r--r--test/test-journals/1/user-1000@0005ebbfd660bcbe-dbef2eee11f4b575.journal~.zstbin0 -> 88958 bytes
-rw-r--r--test/test-journals/1/user-1000@0005ebbfe89faec4-a5e890e7b00bedd1.journal~.zstbin0 -> 129152 bytes
7 files changed, 0 insertions, 0 deletions
diff --git a/test/test-journals/1/system.journal.zst b/test/test-journals/1/system.journal.zst
new file mode 100644
index 0000000000..35636c29fb
--- /dev/null
+++ b/test/test-journals/1/system.journal.zst
Binary files differ
diff --git a/test/test-journals/1/system@0005ebbfd42fc981-39a8842ec948769a.journal~.zst b/test/test-journals/1/system@0005ebbfd42fc981-39a8842ec948769a.journal~.zst
new file mode 100644
index 0000000000..69be13e596
--- /dev/null
+++ b/test/test-journals/1/system@0005ebbfd42fc981-39a8842ec948769a.journal~.zst
Binary files differ
diff --git a/test/test-journals/1/system@0005ebbfd4346b9f-43185b46162d9fa5.journal~.zst b/test/test-journals/1/system@0005ebbfd4346b9f-43185b46162d9fa5.journal~.zst
new file mode 100644
index 0000000000..961b930627
--- /dev/null
+++ b/test/test-journals/1/system@0005ebbfd4346b9f-43185b46162d9fa5.journal~.zst
Binary files differ
diff --git a/test/test-journals/1/system@0005ebbfd4385848-2e5dff5354ab9bcf.journal~.zst b/test/test-journals/1/system@0005ebbfd4385848-2e5dff5354ab9bcf.journal~.zst
new file mode 100644
index 0000000000..ff692c3d2e
--- /dev/null
+++ b/test/test-journals/1/system@0005ebbfd4385848-2e5dff5354ab9bcf.journal~.zst
Binary files differ
diff --git a/test/test-journals/1/user-1000.journal.zst b/test/test-journals/1/user-1000.journal.zst
new file mode 100644
index 0000000000..3b462e5223
--- /dev/null
+++ b/test/test-journals/1/user-1000.journal.zst
Binary files differ
diff --git a/test/test-journals/1/user-1000@0005ebbfd660bcbe-dbef2eee11f4b575.journal~.zst b/test/test-journals/1/user-1000@0005ebbfd660bcbe-dbef2eee11f4b575.journal~.zst
new file mode 100644
index 0000000000..8e856126c6
--- /dev/null
+++ b/test/test-journals/1/user-1000@0005ebbfd660bcbe-dbef2eee11f4b575.journal~.zst
Binary files differ
diff --git a/test/test-journals/1/user-1000@0005ebbfe89faec4-a5e890e7b00bedd1.journal~.zst b/test/test-journals/1/user-1000@0005ebbfe89faec4-a5e890e7b00bedd1.journal~.zst
new file mode 100644
index 0000000000..1318bd6007
--- /dev/null
+++ b/test/test-journals/1/user-1000@0005ebbfe89faec4-a5e890e7b00bedd1.journal~.zst
Binary files differ