From 5f1ba589a5a27d0379e8154293ba19964ac60e8f Mon Sep 17 00:00:00 2001 From: Timothy Sutton Date: Mon, 13 Apr 2015 13:38:11 -0400 Subject: [PATCH] Git integration test: remove test for ambiguous .git/branches dir - '.git/branches' does not always exist, but the git integration tests always checks for this directory's existence so it always fails - more info: - http://stackoverflow.com/questions/10398225/what-is-the-git-branches-folder-used-for --- test/integration/roles/test_git/tasks/main.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/integration/roles/test_git/tasks/main.yml b/test/integration/roles/test_git/tasks/main.yml index 4bdc1d8bd87..831db8ea698 100644 --- a/test/integration/roles/test_git/tasks/main.yml +++ b/test/integration/roles/test_git/tasks/main.yml @@ -65,16 +65,11 @@ stat: path={{ checkout_dir }}/.git/HEAD register: head -- name: check for remotes - stat: path={{ checkout_dir }}/.git/branches - register: branches - - name: assert presence of tags/trunk/branches assert: that: - "tags.stat.isdir" - "head.stat.isreg" - - "branches.stat.isdir" - name: verify on a reclone things are marked unchanged assert: