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
This commit is contained in:
parent
224fd0adfe
commit
5f1ba589a5
1 changed files with 0 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue