summaryrefslogtreecommitdiff
path: root/test/system/helpers.bash
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-05-08 11:50:07 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-05-08 13:05:25 +0200
commit42c6aa1a4281d0ac1fc70fc95cca97506b25477e (patch)
tree44f002eacaddf7bc11cd4823ecfe7011ec79b6a9 /test/system/helpers.bash
parentff1c59065e9d2ef0c03ce8de444b489630d00b3c (diff)
downloadpodman-42c6aa1a4281d0ac1fc70fc95cca97506b25477e.tar.gz
podman-42c6aa1a4281d0ac1fc70fc95cca97506b25477e.tar.bz2
podman-42c6aa1a4281d0ac1fc70fc95cca97506b25477e.zip
fix and enable systemd system tests
The systemd unit test never ran in CI and was broken for various reasons. Fix the test to execute Podman in systemd units and to also run generated units files. Note: more tests will be added in the future. The simple check for now will prevent regressions. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/system/helpers.bash')
-rw-r--r--test/system/helpers.bash11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/system/helpers.bash b/test/system/helpers.bash
index 51240edc9..7ec2105d1 100644
--- a/test/system/helpers.bash
+++ b/test/system/helpers.bash
@@ -252,17 +252,6 @@ function skip_if_remote() {
fi
}
-#########################
-# skip_if_not_systemd # ...with an optional message
-#########################
-function skip_if_not_systemd() {
- if systemctl --user >/dev/null 2>&1; then
- return
- fi
-
- skip "${1:-no systemd or daemon does not respond}"
-}
-
#########
# die # Abort with helpful message
#########