| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
/etc/systemd/journald.conf.d drop-in dir already exists on SUSE.
|
|
|
|
|
| |
Otherwise qemu defaults to ide for which the module isn't always
available (e.g. it's missing in the debian linux cloud images).
|
|
|
|
|
| |
If we're not running the test as root, stick to using a virtual
machine, as mkosi can't do rootless nspawn yet.
|
|
|
|
|
|
|
|
| |
Encrypted /var is skipped because meson's limitations make per test
images not really feasible and we can't encrypt /var by default because
it slows down the image build too much.
Co-authored-by: Richard Maw <richard.maw@codethink.co.uk>
|
|
|
|
| |
We want to be able to boot with empty /var.
|
|
|
|
|
| |
This allows doing other stuff with the test without actually defining
the test, such as generating a service unit automatically.
|
|
|
|
|
|
| |
If we fail to mount the encrypted /var during boot we're left with
nothing to debug, so let's do the same thing we do for TEST-08-INITRD
and forward journal to the console.
|
|
|
|
|
|
| |
This patch allows systemd-cryptenroll to enroll directly with a public key if a certificate is missing on a token.
Fixes: #30675
|
|
|
|
|
| |
The original way of appending to /etc/systemd/journald.conf doesn't work
anymore, since we no longer ship the default configs in /etc/.
|
| |
|
|
|
|
| |
Introduces new dependencies on SoftHSM, OpenSC and GnuTLS for the test.
|
| |
|
|
|
|
| |
To avoid the "mountpoint is busy" error.
|
|
|
|
|
|
| |
The TEST-24 has been silently timing out for quite a while in the C8S
job, as the check_result_qemu() override lacked some error checks,
whoopsie.
|
| |
|
|
|
|
|
| |
As we use it for /var and with the default 100 MiB there's not enough
space for the journal.
|
|
|
|
|
|
|
|
|
|
| |
(The one case that is left unchanged is '< <(subcommand)'.)
This way, the style with no gap was already dominant. This way, the reader
immediately knows that ' < ' is a comparison operator and ' << ' is a shift.
In a few cases, replace custom EOF replacement by just EOF. There is no point
in using someting like "_EOL" unless "EOF" appears in the text.
|
| |
|
|
|
|
| |
Co-Authored-By: Yu Watanabe <watanabe.yu+github@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This should cover cases regarding devices with `OPTIONS+="db_persist"`
during initrd->sysroot transition.
See:
* https://github.com/systemd/systemd/issues/23429
* https://github.com/systemd/systemd/pull/23218
* https://github.com/systemd/systemd/pull/23489
* https://bugzilla.redhat.com/show_bug.cgi?id=2087225
|
|
|
|
| |
d'oh!
|
|
|
|
|
|
|
| |
Otherwise we'd miss coverage from TEST-{02,24,61}, since they don't go
through the "standard" `check_result_common` hook.
Follow-up to 7bf20e48bd7d641a39a14a7feb749b7e8b0fc0f6.
|
| |
|
|
|
|
|
|
| |
Specifying the test number manually is tedious and prone to errors (as
recently proven). Since we have all the necessary data to work out the
test number, let's do it automagically.
|
|
|
|
|
|
| |
The logic to query test state was rather complex. I don't quite grok the point
of ret=$((ret+1))… But afaics, the precise result was always ignored by the
caller anyway.
|
| |
|
|
|
|
|
|
| |
Building custom images for each test takes a lot of time.
Build the default one, and if the test needs incompatible changes
just copy it and extend it instead.
|
|
When tests are executed serially (the default), it seems better to launch
the fairly generic test that runs the unittests early in the sequence.
Right now the tests are ordered based on when they were written, but
this doesn't make much sense.
|