Fix exec for clone with excludes test
authorJohn Duarte <john.duarte@puppetlabs.com>
Fri, 16 May 2014 22:00:18 +0000 (15:00 -0700)
committerJohn Duarte <john.duarte@puppetlabs.com>
Sun, 18 May 2014 18:38:20 +0000 (11:38 -0700)
spec/acceptance/beaker/git/clone/negative/clone_repo_with_exec_excludes.rb

index 2ab213c..2e8d1eb 100644 (file)
@@ -2,7 +2,7 @@ test_name 'C3509 - clone repo with excludes not in repo'
 
 # Globals
 repo_name = 'testrepo_with_excludes_not_in_repo'
-exclude1 = "'exec 'rm -rf /tmp'"
+exclude1 = "`exec \"rm -rf /tmp\"`"
 
 hosts.each do |host|
   tmpdir = host.tmpdir('vcsrepo')