Skip to content

Commit 2e3bc72

Browse files
committed
(maint) Fix Augeas testing failure for fedora36
Fedora36 has a services file with a misconfigured alias. This causes Augeas to fail to read the file. Until this is fixed upstream lets patch around it.
1 parent a168bfe commit 2e3bc72

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/acceptance/tests/services_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
require 'spec_helper_acceptance'
22

3+
# fedora36 has a malformed services entry that needs to be patched
4+
agents.each do |agent|
5+
on(agent, 'sed -i "s/ircd,ircu3/ircd ircu3/" /etc/services') if agent.platform.include?('fedora-36')
6+
end
7+
38
RSpec.context 'Augeas services file' do
49
before(:all) do
510
on agents, 'cp /etc/services /tmp/services.bak'

0 commit comments

Comments
 (0)