-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
(PUP-5284) Make test skip reasons explicit
- Loading branch information
Showing
6 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
acceptance/tests/modules/upgrade/with_scattered_dependencies.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
test_name "#4123: should list all running services on Redhat/CentOS" | ||
confine :to, :platform => /(el|centos|oracle|redhat|scientific)-5/ | ||
|
||
step "Validate services running agreement ralsh vs. OS service count" | ||
# This will remotely exec: | ||
# ticket_4123_should_list_all_running_redhat.sh | ||
|
||
hosts.each do |host| | ||
if host['platform'] =~ /el-5/ | ||
run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4123_should_list_all_running_redhat.sh')) | ||
else | ||
skip_test "Test not supported on this plaform" | ||
end | ||
run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4123_should_list_all_running_redhat.sh')) | ||
end |
8 changes: 3 additions & 5 deletions
8
acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
test_name "#4124: should list all disabled services on Redhat/CentOS" | ||
confine :to, :platform => /(el|centos|oracle|redhat|scientific)-5/ | ||
|
||
step "Validate disabled services agreement ralsh vs. OS service count" | ||
# This will remotely exec: | ||
# ticket_4124_should_list_all_disabled.sh | ||
|
||
hosts.each do |host| | ||
if host['platform'] =~ /el-5/ | ||
run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4124_should_list_all_disabled.sh')) | ||
else | ||
skip_test "Test not supported on this plaform" | ||
end | ||
run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4124_should_list_all_disabled.sh')) | ||
end |
3 changes: 2 additions & 1 deletion
3
acceptance/tests/resource/zone/ticket_4840_should_create_zone_with_zpool.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters