]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: various cleanups for TEST-04-JOURNAL.journal-reload.sh 38308/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 23 Jul 2025 20:04:52 +0000 (05:04 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Jul 2025 14:27:21 +0000 (23:27 +0900)
commit8f1a452e4a2c2f66bdaf7b805150391cdf3686a7
tree9c9ede032fe5c3212ad6ee525f78f9840a12a8e0
parent8cfffab0e54b54f9a4cbbcee7b331199dff21d41
test: various cleanups for TEST-04-JOURNAL.journal-reload.sh

- rename to TEST-04-JOURNAL.reload.sh,
- use trap to call cleanup(),
- use systemd-run to write journals, to make each journal entries to be
  distinguished by the service name,
- greatly simplifies verify_journals(),
- drop unnecessary calls of sleep command, etc, etc.

Follow-ups for df5b3426f60bb626f46f93fbdacecae274c1645b.
Hopefully fixes #38287.
test/units/TEST-04-JOURNAL.journal-reload.sh [deleted file]
test/units/TEST-04-JOURNAL.reload.sh [new file with mode: 0755]