diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2017-07-21 11:37:21 -0700 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2017-07-21 12:20:53 -0700 |
commit | 69fd263cff9a3e7d86b87ed1b753626e95c104f3 (patch) | |
tree | f1e0dd6f45d06c90c03758f15a253ef630b0a903 | |
parent | 1ac74f561df72e59f6ae33a94c52e35085ac66c3 (diff) | |
download | ansible-69fd263cff9a3e7d86b87ed1b753626e95c104f3.tar.gz |
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.
(cherry picked from commit 6a41a4f31188822db2d60ff544f9775c6d4b90d6)
-rw-r--r-- | test/integration/targets/expect/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/expect/tasks/main.yml b/test/integration/targets/expect/tasks/main.yml index b27ca5bc0f..28cbeb5955 100644 --- a/test/integration/targets/expect/tasks/main.yml +++ b/test/integration/targets/expect/tasks/main.yml @@ -66,7 +66,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: |