mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Expand the result from pwd to make the test more robust
Sometimes MacOSX's pwd doesn't return an expanded path. Not sure why but this test is still valid if we expand it via a playbook filter so go ahead and do that.
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
- name: assert chdir works
|
||||
assert:
|
||||
that:
|
||||
- "chdir_result.stdout == '{{output_dir | expanduser | realpath}}'"
|
||||
- "'{{chdir_result.stdout |expanduser | realpath }}' == '{{output_dir | expanduser | realpath}}'"
|
||||
|
||||
- name: test timeout option
|
||||
expect:
|
||||
|
||||
Reference in New Issue
Block a user