From bbf0a025c075124ffe2fc2838c27ace22d1ddb89 Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Tue, 7 Jun 2011 11:32:40 -0700 Subject: maint: fix misnamed acceptance test for #7139 Just s/\.rm/\.rb/ on the filename. --- .../tests/ticket_7139_puppet_resource_file_qualified_paths.rb | 11 +++++++++++ .../tests/ticket_7139_puppet_resource_file_qualified_paths.rm | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rb delete mode 100644 acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm (limited to 'acceptance/tests') diff --git a/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rb b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rb new file mode 100644 index 000000000..f773ba17c --- /dev/null +++ b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rb @@ -0,0 +1,11 @@ +test_name "#7139: Puppet resource file failes on path with leading '/'" + +step "Agents: create valid, invalid formatted manifests" +create_remote_file(agents, '/tmp/ticket-7139', %w{foo bar contents} ) + +step "Run puppet file resource on /tmp/ticket-7139" +agents.each do |host| + on(host, "puppet resource file /tmp/ticket-7139") do + assert_match(/file \{ \'\/tmp\/ticket-7139\':/, stdout, "puppet resource file failed on #{host}") + end +end diff --git a/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm deleted file mode 100644 index f773ba17c..000000000 --- a/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm +++ /dev/null @@ -1,11 +0,0 @@ -test_name "#7139: Puppet resource file failes on path with leading '/'" - -step "Agents: create valid, invalid formatted manifests" -create_remote_file(agents, '/tmp/ticket-7139', %w{foo bar contents} ) - -step "Run puppet file resource on /tmp/ticket-7139" -agents.each do |host| - on(host, "puppet resource file /tmp/ticket-7139") do - assert_match(/file \{ \'\/tmp\/ticket-7139\':/, stdout, "puppet resource file failed on #{host}") - end -end -- cgit