]> git.ipfire.org Git - thirdparty/systemd.git/commit - test/TEST-24-CRYPTSETUP/test.sh
test: run tests directly from the loopback device
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 13 Dec 2019 13:21:31 +0000 (14:21 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 28 Mar 2020 10:51:29 +0000 (11:51 +0100)
commitec43f6862eeafa1d737b60c8c812066f7cf1ff7a
tree8ffab03c293f46876e1d7b39491b34351b35479b
parenteb1290ef35af93eebb73e6f0769031382011e8ca
test: run tests directly from the loopback device

Before, we'd copy the test tree into nspawn-root, and run the tests from there.
This is OK, and doesn't actually take much extra time. But it uses quite a lot
of extra disk space. So let's make things a bit more efficient by running
directly from the image file.

We still run the unprivileged nspawn tests from a copy. Once the kernel
implements fs shift, we can do away with that too.
test/TEST-02-CRYPTSETUP/test.sh
test/TEST-24-UNIT-TESTS/test.sh
test/test-functions