diff --git a/acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb b/acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb index b2113c33c..064424766 100755 --- a/acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb +++ b/acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb @@ -1,12 +1,12 @@ test_name "#4123: should list all running services on Redhat/CentOS" 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'].include?('el-') - run_script_on(host,'acceptance-tests/tests/resource/service/ticket_4123_should_list_all_running_redhat.sh') + 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 end diff --git a/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb b/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb index 2b9b2b7f4..7ba3c1a28 100755 --- a/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb +++ b/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb @@ -1,12 +1,12 @@ test_name "#4124: should list all disabled services on Redhat/CentOS" 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| unless host['platform'].include?('el-') skip_test "Test not supported on this plaform" else - run_script_on(host,'acceptance-tests/tests/resource/service/ticket_4124_should_list_all_disabled.sh') + run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4124_should_list_all_disabled.sh')) end end