Merge "Add test for fileglob behaviour"
This commit is contained in:
commit
3386126faa
5
tests/fixtures/config/ansible/git/org_plugin-project/playbooks/fileglob_local_bad.yaml
vendored
Normal file
5
tests/fixtures/config/ansible/git/org_plugin-project/playbooks/fileglob_local_bad.yaml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
- hosts: localhost
|
||||
tasks:
|
||||
- name: fileglob in a bad location
|
||||
debug:
|
||||
msg: '{{ lookup("fileglob", "/tmp/*") }}'
|
5
tests/fixtures/config/ansible/git/org_plugin-project/playbooks/fileglob_local_good.yaml
vendored
Normal file
5
tests/fixtures/config/ansible/git/org_plugin-project/playbooks/fileglob_local_good.yaml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
- hosts: localhost
|
||||
tasks:
|
||||
- name: fileglob in a good location
|
||||
debug:
|
||||
msg: '{{ lookup("fileglob", zuul.executor.work_root + "/*") }}'
|
|
@ -2956,6 +2956,8 @@ class FunctionalAnsibleMixIn(object):
|
|||
('block_local_override', 'FAILURE'),
|
||||
('file_local_good', 'SUCCESS'),
|
||||
('file_local_bad', 'FAILURE'),
|
||||
('fileglob_local_good', 'SUCCESS'),
|
||||
('fileglob_local_bad', 'FAILURE'),
|
||||
('zuul_return', 'SUCCESS'),
|
||||
('password_create_good', 'SUCCESS'),
|
||||
('password_null_good', 'SUCCESS'),
|
||||
|
|
Loading…
Reference in New Issue