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:
Toshio Kuratomi 2017-07-21 11:37:21 -07:00
parent f4bb71c0df
commit 6a41a4f311

View file

@ -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: