Skip to content

Commit 4461c9c

Browse files
Merge pull request #17875 from edsantiago/v441rhel_rootless_journal_skip
quadlet tests: skip on RHEL8 rootless
2 parents bf400bd + ab0bbf7 commit 4461c9c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

test/system/252-quadlet.bats

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ function start_time() {
1515

1616
function setup() {
1717
skip_if_remote "quadlet tests are meaningless over remote"
18-
skip_if_rootless_cgroupsv1 "quadlet tests don't work rootless on RHEL8"
18+
skip_if_rootless_cgroupsv1 "Can't use --cgroups=split w/ CGv1 (#17456)"
19+
skip_if_journald_unavailable "quadlet isn't really usable without journal"
20+
21+
test -x "$QUADLET" || die "Cannot run quadlet tests without executable \$QUADLET ($QUADLET)"
1922

2023
start_time
2124

test/system/260-sdnotify.bats

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ READY=1" "sdnotify sent MAINPID and READY"
244244
}
245245

246246
@test "sdnotify : play kube - with policies" {
247+
skip_if_journald_unavailable
248+
247249
# Pull that image. Retry in case of flakes.
248250
run_podman pull $SYSTEMD_IMAGE || \
249251
run_podman pull $SYSTEMD_IMAGE || \

0 commit comments

Comments
 (0)