summaryrefslogtreecommitdiffstats
path: root/test/TEST-74-AUX-UTILS/test.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bootctl: Add --secure-boot-auto-enrollDaan De Meyer2024-11-031-0/+1
| | | | | | When specified, bootctl install will also set up secure boot auto-enrollment. For now, We sign all variables using the same certificate and key pair.
* test: add test coverage for EnterNamespace=Michal Sekletar2024-10-301-0/+1
|
* test: attempt to install sshd-session from multiple placesFrantisek Sumsal2024-08-011-1/+1
| | | | | | | On Fedora the sshd-session binary is under /usr/libexec/openssh/ so cover this path as well in the old framework. Follow-up for aaa7b36bd15ca3a96a1e11a557482b0bc59c769f.
* test: install split-out sshd-session binary if presentLuca Boccassi2024-07-091-0/+1
| | | | | Archlinux split out one ssh binary, install it in the legacy test setup if present for the tests that need ssh
* Revert "test: temporarily adjust the default mount rate limit"Yu Watanabe2024-03-201-3/+0
| | | | | | This reverts commit 3f4b00a34a425566ca8494846b0e74ca8c7693d3. The issue #30573 seems to be fixed somehow. Let's revert the workaround.
* test: add testcase for ssh generatorLennart Poettering2024-01-111-1/+13
|
* varlink: add "ssh:" transportLennart Poettering2024-01-081-0/+2
| | | | | | | | | | | | | | | | | | This uses openssh 9.4's -W support for AF_UNIX. Unfortunately older versions don't work with this, and I couldn#t figure a way that would work for older versions too, would not be racy and where we'd still could keep track of the forked off ssh process. Unfortunately, on older versions -W will just hang (because it tries to resolve the AF_UNIX path as regular host name), which sucks, but hopefully this issue will go away sooner or later on its own, as distributions update. Fedora is still stuck at 9.3 at the time of posting this (even on Fedora), even though 9.4, 9.5, 9.6 have all already been released by now. Example: varlinkctl call -j ssh:root@somehost:/run/systemd/io.systemd.Credentials io.systemd.Credentials.Encrypt '{"text":"foobar"}'
* test: temporarily adjust the default mount rate limitFrantisek Sumsal2024-01-031-0/+3
| | | | | | | | | | | | | | | | | | | (Hopefully) a temporary workaround for #30573 where starting a user session when PID 1 is rate limited stalls even after it leaves the rate limited state: [ 11.658201] H systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=UnitRemoved cookie=4208 reply_cookie=0 signature=so error-name=n/a error-mes> [ 11.658233] H systemd[1]: Event source 0x559babdd8bb0 (mount-monitor-dispatch) left rate limit state. [ 101.562697] H busctl[784]: Failed to get credentials: Transport endpoint is not connected [ 101.563480] H systemd[1]: systemd-journald.service: Got notification message from PID 300 (WATCHDOG=1) [ 101.563725] H testsuite-74.sh[784]: BusAddress=unixexec:path=systemd-run,argv1=-M.host,argv2=-PGq,argv3=--wait,argv4=-pUser%3dtestuser,argv5=-pPAMName%3dlogin,argv6=systemd-stdio-bridge,argv7=-punix:path%3d%24%7bXDG_RUNTIME_DIR%7d/bus [ 101.564136] H systemd[1]: Successfully forked off '(sd-expire)' as PID 787. [ 101.564754] H systemd[1]: Successfully forked off '(sd-expire)' as PID 788. [ 101.564831] H testsuite-74.sh[381]: + echo 'Subtest /usr/lib/systemd/tests/testdata/units/testsuite-74.busctl.sh failed' The issue appeared after ee07fff03b which does a bunch of mounts/umounts that get PID 1 into a rate limited state, and is frequent enough to be annoying, so let's temporarily bump the rate limit to alleviate that.
* test: add basic coverity tests for bootctlYu Watanabe2023-12-131-0/+6
|
* test: add tests for networkctl edit/catMike Yuan2023-05-211-0/+1
|
* test: mangle the machine ID only for the QEMU test partFrantisek Sumsal2023-05-171-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: merge TEST-14-MACHINE-ID into TEST-74-AUX-UTILSFrantisek Sumsal2023-05-161-0/+6
|
* test: always install the script utilityFrantisek Sumsal2023-05-131-4/+0
|
* test: add testsuite-74.machinectlMike Yuan2023-03-151-0/+4
|
* test: introduce sanity coverage for auxiliary utilsFrantisek Sumsal2022-11-031-0/+10