From 6a41a4f31188822db2d60ff544f9775c6d4b90d6 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 21 Jul 2017 11:37:21 -0700 Subject: [PATCH] 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. --- test/integration/targets/expect/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/expect/tasks/main.yml b/test/integration/targets/expect/tasks/main.yml index 6980192748b..00e0f2e7af1 100644 --- a/test/integration/targets/expect/tasks/main.yml +++ b/test/integration/targets/expect/tasks/main.yml @@ -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: