summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_overflow_depth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_overflow_depth.rb')
-rw-r--r--spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_overflow_depth.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_overflow_depth.rb b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_overflow_depth.rb
index fdf4977..5da9fd7 100644
--- a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_overflow_depth.rb
+++ b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_overflow_depth.rb
@@ -3,10 +3,16 @@ test_name 'C3606 - shallow clone repo depth overflow 64bit integer'
# Globals
repo_name = 'testrepo_shallow_clone'
+pending_test("The overflow can't be handled on some git versions")
+
hosts.each do |host|
tmpdir = host.tmpdir('vcsrepo')
step 'setup - create repo' do
- install_package(host, 'git')
+ git_pkg = 'git'
+ if host['platform'] =~ /ubuntu-10/
+ git_pkg = 'git-core'
+ end
+ install_package(host, git_pkg)
my_root = File.expand_path(File.join(File.dirname(__FILE__), '../../../../..'))
scp_to(host, "#{my_root}/acceptance/files/create_git_repo.sh", tmpdir)
on(host, "cd #{tmpdir} && ./create_git_repo.sh")