Skip to content

Commit f7d724b

Browse files
author
Travis Fields
committed
Readd linux negative test
1 parent 372bf79 commit f7d724b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

acceptance/tests/reboot_negative_linux.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
confine :except, :platform => 'windows'
1212

13-
agents.select { |agent| !agent['platform'].include?('windows') }.each do |agent|
13+
agents.select { |agent| agent['platform'].include?('windows') }.each do |agent|
1414
step "Attempt to Reboot on Linux"
1515

1616
#Apply the manifest.
17-
on agent, puppet('apply', '--debug'), :stdin => reboot_manifest do |result|
17+
on agent, puppet('apply', '--debug', :stdin => reboot_manifest) do |result|
1818
assert_match /Error: Could not find a suitable provider for reboot/,
1919
result.stderr, 'Expected error message is missing'
2020
end

0 commit comments

Comments
 (0)