summaryrefslogtreecommitdiff
path: root/test/TEST-24-CRYPTSETUP
Commit message (Collapse)AuthorAgeFilesLines
* test: store the key on a separate deviceFrantisek Sumsal2022-05-261-5/+9
|
* test: generate a custom initrd for TEST-24 if $INITRD is unsetFrantisek Sumsal2022-05-261-0/+24
| | | | Co-Authored-By: Yu Watanabe <watanabe.yu+github@gmail.com>
* test: cover initrd->sysroot transition in TEST-24Frantisek Sumsal2022-05-251-33/+30
| | | | | | | | | | | 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
* test: collect the coverage _before_ unmounting the rootfsFrantisek Sumsal2021-10-211-1/+1
| | | | d'oh!
* test: collect coverage in a couple more codepathsFrantisek Sumsal2021-10-201-0/+1
| | | | | | | 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.
* tests: add spdx headers to scripts and MakefilesZbigniew Jędrzejewski-Szmek2021-10-181-0/+1
|
* test: "detect" the test number automagicallyFrantisek Sumsal2021-04-261-1/+1
| | | | | | 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.
* test: move the logic to support /skipped into shared logicZbigniew Jędrzejewski-Szmek2021-04-231-1/+1
| | | | | | 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.
* test: make the test entrypoint scripts shellcheck-compliantFrantisek Sumsal2021-04-201-26/+35
|
* tests: build the image once and then copy/extend itLuca Boccassi2021-01-241-0/+1
| | | | | | 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.
* test: switch TEST-02-CRYPTSETUP and TEST-24-UNITTESTSZbigniew Jędrzejewski-Szmek2020-09-242-0/+80
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.