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:
parent
f4bb71c0df
commit
6a41a4f311
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue