diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-03 11:33:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-03 11:33:07 +0200 |
commit | 0f49678746c27a64bd9a8bb023a77624190685b0 (patch) | |
tree | e373299f1a8911f457acb871f7d189908e172f4d | |
parent | 858d3e47c26788e64083842cc6617b666f4279a1 (diff) | |
parent | 02a0d4b7fb8fe99d012e9c8035a063e903eab5b6 (diff) | |
download | podman-0f49678746c27a64bd9a8bb023a77624190685b0.tar.gz podman-0f49678746c27a64bd9a8bb023a77624190685b0.tar.bz2 podman-0f49678746c27a64bd9a8bb023a77624190685b0.zip |
Merge pull request #11414 from edsantiago/bats
auto-update systemd test: skip on RHEL
-rw-r--r-- | test/system/255-auto-update.bats | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/system/255-auto-update.bats b/test/system/255-auto-update.bats index b172bb917..bb4b5c13f 100644 --- a/test/system/255-auto-update.bats +++ b/test/system/255-auto-update.bats @@ -339,6 +339,8 @@ EOF } @test "podman auto-update using systemd" { + skip_if_journald_unavailable + generate_service alpine image cat >$UNIT_DIR/podman-auto-update-$cname.timer <<EOF @@ -386,7 +388,9 @@ EOF done if [[ -n "$failed_start" ]]; then - die "Did not find expected string '$expect' in journalctl output for $cname" + echo "journalctl output:" + sed -e 's/^/ /' <<<"$output" + die "Did not find expected string '$expect' in journalctl output for $cname" fi _confirm_update $cname $ori_image |