summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-06-16 11:34:34 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-06-16 11:34:34 -0700
commita1d74e33c237f64ee9edb14e53644447b6c962ed (patch)
tree2ac6fcb001488e10ce16dd6c6f85eb9b5f4b5e39 /spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
parentdd234ae703cfbfdf5a4d7df51d024d0298b5b039 (diff)
parentbef473f1424a4d798bae5cf7b2afbb694aa793c5 (diff)
downloadpuppet-vcsrepo-a1d74e33c237f64ee9edb14e53644447b6c962ed.tar.gz
puppet-vcsrepo-a1d74e33c237f64ee9edb14e53644447b6c962ed.tar.bz2
Merge pull request #166 from hunner/patch_shallow
Correct shallow clone count
Diffstat (limited to 'spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb')
-rw-r--r--spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb b/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
index ab3bd07..b83f4ea 100644
--- a/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
+++ b/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
@@ -41,7 +41,7 @@ hosts.each do |host|
end
on(host, "wc -l #{tmpdir}/#{repo_name}/.git/shallow") do |res|
- fail_test('shallow not found') unless res.stdout.include? "2 #{tmpdir}/#{repo_name}/.git/shallow"
+ fail_test('shallow not found') unless res.stdout.include? "1 #{tmpdir}/#{repo_name}/.git/shallow"
end
end