diff options
author | Ed Santiago <santiago@redhat.com> | 2021-07-20 08:24:37 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-07-20 08:57:26 -0600 |
commit | 313c7118eadca28ff6f0121f43f56687b36d3849 (patch) | |
tree | 71de7e9499b5ec32f7a911450c1c293804c7e723 /pkg/channel | |
parent | 4fb4614cf14a362c047b17612488fbdc0dc8e253 (diff) | |
download | podman-313c7118eadca28ff6f0121f43f56687b36d3849.tar.gz podman-313c7118eadca28ff6f0121f43f56687b36d3849.tar.bz2 podman-313c7118eadca28ff6f0121f43f56687b36d3849.zip |
system tests: cleaner, safer use of systemd
First and foremost: use ephemeral (/run, $XDG) directories
for systemd unit files, so as not to vandalize a working system.
Second, refactor common systemd-related functionality into
a new helper file, loaded by the systemd-related tests.
Shared functionality includes:
* setting $XDG_RUNTIME_DIR if unset and rootless
* setting $UNIT_DIR for use by tests
* new systemctl() and journalctl() functions, which
include "--user" when rootless (why can't systemd
figure this out on its own?)
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'pkg/channel')
0 files changed, 0 insertions, 0 deletions