Skip to content

Commit bd977eb

Browse files
committed
(maint) Excludes RHEL9 from init_on_systemd test
Red Hat 9 does not ship with `/etc/init.d`, causing this test to fail. We have excluded it as a platform for this particular test. See: PA-4121
1 parent 863f3ea commit bd977eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acceptance/tests/resource/service/init_on_systemd.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test_name 'SysV on default Systemd Service Provider Validation' do
22

3-
confine :to, :platform => /el-|centos|fedora-(2[0-9])/ do |h|
3+
confine :to, :platform => /el-[6-8]|centos|fedora-(2[0-9])/ do |h|
44
on h, 'which systemctl', :acceptable_exit_codes => [0, 1]
55
stdout =~ /systemctl/
66
end

0 commit comments

Comments
 (0)