mirror of
https://github.com/ansible/ansible.git
synced 2026-07-28 08:05:22 +02:00
tests: do not use reserved 'tags' name (#86823)
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
- name: FORMATS | check for tags
|
||||
stat:
|
||||
path: "{{ repo_dir }}/format1/.git/refs/tags"
|
||||
register: tags
|
||||
register: tags_result
|
||||
|
||||
- name: FORMATS | check for HEAD
|
||||
stat:
|
||||
@@ -31,7 +31,7 @@
|
||||
- name: FORMATS | assert presence of tags/trunk/branches
|
||||
assert:
|
||||
that:
|
||||
- "tags.stat.isdir"
|
||||
- "tags_result.stat.isdir"
|
||||
- "head.stat.isreg"
|
||||
|
||||
- name: FORMATS | verify on a reclone things are marked unchanged
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
- name: check for tags
|
||||
stat: path={{ subversion_test_dir }}/svn/tags
|
||||
register: tags
|
||||
register: tags_result
|
||||
|
||||
- name: check for trunk
|
||||
stat: path={{ subversion_test_dir }}/svn/trunk
|
||||
@@ -75,7 +75,7 @@
|
||||
- name: assert presence of tags/trunk/branches
|
||||
assert:
|
||||
that:
|
||||
- "tags.stat.isdir"
|
||||
- "tags_result.stat.isdir"
|
||||
- "trunk.stat.isdir"
|
||||
- "branches.stat.isdir"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user