Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: mangle the machine ID only for the QEMU test partHEADmain | Frantisek Sumsal | 2023-05-17 | 1 | -1/+5 |
| | | | | | | | | | | | | | systemd-nspawn doesn't like invalid machine IDs and refuses to boot with one: TEST-74-AUX-UTILS RUN: Tests for auxiliary utilities ... Spawning container TEST-74-AUX-UTILS--3 on /var/tmp/systemd-test-TEST-74-AUX-UTILS_3/root. Press Ctrl-] three times within 1s to kill container. Failed to read machine ID from container image: Structure needs cleaning E: nspawn failed with exit code 1 Follow-up to b4d42a82eb. | ||||
* | test: move runas() to the shared utility library | Frantisek Sumsal | 2023-05-16 | 4 | -17/+14 |
| | |||||
* | test: make shellcheck happy again | Frantisek Sumsal | 2023-05-16 | 10 | -6/+13 |
| | | | | No functional changes. | ||||
* | test: merge TEST-48-START-STOP-NO-RELOAD into TEST-23-UNIT-FILE | Frantisek Sumsal | 2023-05-16 | 4 | -47/+33 |
| | |||||
* | test: merge TEST-49-RUNTIME-BIND-PATHS into TEST-23-UNIT-FILE | Frantisek Sumsal | 2023-05-16 | 7 | -68/+44 |
| | |||||
* | test: clean up test artifacts | Frantisek Sumsal | 2023-05-16 | 2 | -0/+19 |
| | | | | So we don't run into unexpected fails when two tests use the same paths. | ||||
* | test: merge TEST-28-PERCENTJ-WANTEDBY into TEST-23-UNIT-FILE | Frantisek Sumsal | 2023-05-16 | 7 | -33/+18 |
| | |||||
* | test: merge TEST-56-EXIT-TYPE into TEST-19-CGROUP | Frantisek Sumsal | 2023-05-16 | 5 | -99/+102 |
| | | | | And clean it up a bit. | ||||
* | test: rename TEST-19-DELEGATE to TEST-19-CGROUP | Frantisek Sumsal | 2023-05-16 | 4 | -66/+109 |
| | | | | And clean it up a bit. | ||||
* | test: introduce get_cgroup_hierarchy() | Frantisek Sumsal | 2023-05-16 | 1 | -0/+18 |
| | |||||
* | test: rename assert.sh to util.sh | Frantisek Sumsal | 2023-05-16 | 28 | -55/+55 |
| | | | | | | | So we can extend it with additional utility functions without making it confusing. No functional change. | ||||
* | test: merge TEST-33-CLEAN-UNIT into TEST-23-UNIT-FILE | Frantisek Sumsal | 2023-05-16 | 4 | -25/+2 |
| | |||||
* | test: merge TEST-27-STDOUTFILE into TEST-23-UNIT-FILE | Frantisek Sumsal | 2023-05-16 | 4 | -27/+6 |
| | |||||
* | test: merge TEST-14-MACHINE-ID into TEST-74-AUX-UTILS | Frantisek Sumsal | 2023-05-16 | 6 | -65/+88 |
| | |||||
* | Merge pull request #27606 from YHNdnzj/loginctl-list-show-state | Yu Watanabe | 2023-05-17 | 1 | -4/+14 |
|\ | | | | | loginctl: list-{users,sessions}: add a column for showing state | ||||
| * | test: add test for state in loginctl list-{users,sessions} | Mike Yuan | 2023-05-16 | 1 | -4/+14 |
| | | |||||
* | | Merge pull request #27655 from ↵ | Yu Watanabe | 2023-05-17 | 1 | -0/+86 |
|\ \ | | | | | | | | | | | | | yuwata/udev-net-assign-alternative-names-only-on-add-event udev/net: assign alternative names only on add event | ||||
| * | | test: add tests for renaming network interface | Yu Watanabe | 2023-05-16 | 1 | -0/+86 |
| |/ | |||||
* | | Merge pull request #27651 from mrc0mmand/more-nspawn-tests | Frantisek Sumsal | 2023-05-16 | 3 | -40/+611 |
|\ \ | | | | | | | nspawn: OCI related fixes & tests | ||||
| * | | fuzz: update the base JSON for fuzz-nspawn-oci | Frantisek Sumsal | 2023-05-16 | 1 | -20/+227 |
| | | | |||||
| * | | test: add a couple of tests for nspawn's OCI stuff | Frantisek Sumsal | 2023-05-16 | 2 | -20/+384 |
| |/ | |||||
* | | Merge pull request #27638 from YHNdnzj/upheldby-unit-file | Mike Yuan | 2023-05-16 | 3 | -1/+15 |
|\ \ | |/ |/| | unit-file: support UpheldBy= in [Install] settings (adding Upholds= deps from .upholds/) | ||||
| * | test: add tests for UpheldBy= in [Install] section | Mike Yuan | 2023-05-15 | 3 | -1/+15 |
| | | |||||
* | | test: make $BUILD_DIR writable when rootfs is mounted read-only | Frantisek Sumsal | 2023-05-15 | 1 | -2/+6 |
| | | | | | | | | | | Adjust two systemd-nspawn invocations where rootfs is mounted read-only, to avoid gcov complaining. | ||||
* | | test: pass $BUILD_DIR as $COVERAGE_BUILD_DIR to the system manager | Frantisek Sumsal | 2023-05-15 | 1 | -0/+5 |
| | | | | | | | | To make additional coverage-related tweaks slightly easier. | ||||
* | | test: update nspawn's basic config file used for fuzzing | Frantisek Sumsal | 2023-05-15 | 1 | -3/+32 |
|/ | |||||
* | test: rename TEST-13-NSPAWN-SMOKE to TEST-13-NSPAWN | Frantisek Sumsal | 2023-05-14 | 3 | -2/+2 |
| | | | | To make it consistent with the rest of the tests. | ||||
* | test: slightly extend the systemd-nspawn tests | Frantisek Sumsal | 2023-05-14 | 2 | -0/+235 |
| | |||||
* | test: wait after sending a signal if necessary | Frantisek Sumsal | 2023-05-14 | 1 | -3/+3 |
| | | | | | On overloaded systems it might take a bit until the signal is sent, processed, and the respective file is created. | ||||
* | test: install the overlayfs/loop modules unconditionally | Frantisek Sumsal | 2023-05-14 | 4 | -37/+22 |
| | |||||
* | test: create merged-usr containers | Frantisek Sumsal | 2023-05-14 | 1 | -18/+22 |
| | |||||
* | test: bind mount the $BUILD_DIR into nspawn containers | Frantisek Sumsal | 2023-05-14 | 2 | -5/+6 |
| | | | | | when collecting coverage. This applies only to containers started via machinectl (or directly via the systemd-nspawn@.service unit). | ||||
* | test: use dropins to override system configuration | Frantisek Sumsal | 2023-05-14 | 1 | -11/+13 |
| | | | | Instead of touching the configuration files directly. | ||||
* | Merge pull request #27634 from mrc0mmand/TEST-13-shenanigans | Luca Boccassi | 2023-05-13 | 9 | -325/+622 |
|\ | | | | | test: clean up & extend the nspawn/machinectl test suite | ||||
| * | test: merge machinectl edit/cat tests into TEST-13 | Frantisek Sumsal | 2023-05-13 | 2 | -36/+19 |
| | | |||||
| * | test: always install the script utility | Frantisek Sumsal | 2023-05-13 | 3 | -8/+1 |
| | | |||||
| * | test: add a couple of tests for machinectl | Frantisek Sumsal | 2023-05-13 | 5 | -367/+582 |
| | | |||||
| * | test: clean up the nspawn tests a bit | Frantisek Sumsal | 2023-05-12 | 4 | -152/+258 |
| | | |||||
* | | core: fix memory leak during deserialization | Frantisek Sumsal | 2023-05-13 | 1 | -0/+6 |
| | | | | | | | | | | | | when activation-details-unit-name is encountered multiple times. Resolves: #27623 | ||||
* | | test-network: add tests for static lease matching with chaddr | Yu Watanabe | 2023-05-12 | 1 | -0/+11 |
| | | | | | | | | Follow-up for 4646cdaa378fa2aab7334a80228d8a94b316763b (#27313). | ||||
* | | cryptenroll: actually allow using multiple "special" strings when wiping | Frantisek Sumsal | 2023-05-11 | 1 | -1/+1 |
|/ | | | | | | | | | | | | The systemd-cryptenroll man page states: Takes a comma separated list of numeric slot indexes, or the special strings ..., or any combination of these strings or numeric indexes, in which case all slots matching either are wiped. but we'd allow only one special string at any given time as the value was not ORed when assigning. So, for example, --wipe=recovery,password would actually become --wipe=password, etc. | ||||
* | Merge pull request #27603 from mrc0mmand/more-test-shenanigans | Yu Watanabe | 2023-05-11 | 70 | -464/+415 |
|\ | | | | | test: merge PID1-related tests into TEST-07-PID1 | ||||
| * | test: abstract the common test parts into a utility script | Frantisek Sumsal | 2023-05-10 | 7 | -73/+150 |
| | | | | | | | | | | Also, instead of bailing out on the first failed subtest, always run all subtests and print a summary at the end (with an appropriate exit code). | ||||
| * | test: merge TEST-20-MAINPIDGAMES into TEST-07-PID1 | Frantisek Sumsal | 2023-05-10 | 5 | -46/+39 |
| | | |||||
| * | test: merge TEST-51-ISSUE-16115 into TEST-07-PID1 | Frantisek Sumsal | 2023-05-10 | 8 | -34/+16 |
| | | |||||
| * | test: merge TEST-47-ISSUE-14566 into TEST-07-PID1 | Frantisek Sumsal | 2023-05-10 | 7 | -45/+32 |
| | | |||||
| * | test: move TEST-23's units into a dedicated subfolder | Frantisek Sumsal | 2023-05-10 | 12 | -0/+1 |
| | | | | | | | | To remain consistent with other tests. | ||||
| * | test: merge TEST-12-ISSUE-3171 into TEST-07-PID1 | Frantisek Sumsal | 2023-05-10 | 5 | -70/+50 |
| | | |||||
| * | test: merge TEST-11-ISSUE-3166 into TEST-07-PID1 | Frantisek Sumsal | 2023-05-10 | 6 | -34/+16 |
| | | |||||
| * | test: merge TEST-10-ISSUE-2467 with TEST-07-PID1 | Frantisek Sumsal | 2023-05-10 | 8 | -40/+27 |
| | |