mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #10683 from timsutton/remove-old-git-integration-test
Git integration test: remove test for ambiguous .git/branches dir
This commit is contained in:
commit
ed601f964d
1 changed files with 0 additions and 5 deletions
|
@ -65,16 +65,11 @@
|
||||||
stat: path={{ checkout_dir }}/.git/HEAD
|
stat: path={{ checkout_dir }}/.git/HEAD
|
||||||
register: head
|
register: head
|
||||||
|
|
||||||
- name: check for remotes
|
|
||||||
stat: path={{ checkout_dir }}/.git/branches
|
|
||||||
register: branches
|
|
||||||
|
|
||||||
- name: assert presence of tags/trunk/branches
|
- name: assert presence of tags/trunk/branches
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- "tags.stat.isdir"
|
- "tags.stat.isdir"
|
||||||
- "head.stat.isreg"
|
- "head.stat.isreg"
|
||||||
- "branches.stat.isdir"
|
|
||||||
|
|
||||||
- name: verify on a reclone things are marked unchanged
|
- name: verify on a reclone things are marked unchanged
|
||||||
assert:
|
assert:
|
||||||
|
|
Loading…
Reference in a new issue