summaryrefslogtreecommitdiff
path: root/test/integration/targets/windows-paths
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2017-11-16 10:04:03 +1000
committeransibot <ansibot@users.noreply.github.com>2017-11-15 19:04:03 -0500
commite16e6313c712825789a421bc0bd6779cab3ae0ba (patch)
treefce937fba994e51a59ea046c2b7720ba83ccc2f2 /test/integration/targets/windows-paths
parent5e20fd0943421739b40db5a7ac9bf1e5ff463b19 (diff)
downloadansible-e16e6313c712825789a421bc0bd6779cab3ae0ba.tar.gz
windows: fix for checking locked system files (#30665)
* fix for checking locked system files * moved functions to share module util and created tests * fixed windows-paths test based on win_stat changes
Diffstat (limited to 'test/integration/targets/windows-paths')
-rw-r--r--test/integration/targets/windows-paths/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/targets/windows-paths/tasks/main.yml b/test/integration/targets/windows-paths/tasks/main.yml
index 075428980c..9610f39339 100644
--- a/test/integration/targets/windows-paths/tasks/main.yml
+++ b/test/integration/targets/windows-paths/tasks/main.yml
@@ -82,7 +82,7 @@
- trailing_result|success
- trailing_result.stat.attributes == 'Directory'
- trailing_result.stat.exists == true
- - trailing_result.stat.path == trailing
+ - trailing_result.stat.path == no_quotes_single # path is without the trailing \
- name: Set variables in key=value syntax
set_fact:
@@ -178,7 +178,7 @@
- trailing_result|success
- trailing_result.stat.attributes == 'Directory'
- trailing_result.stat.exists == true
- - trailing_result.stat.path == trailing
+ - trailing_result.stat.path == no_quotes_single # path is without the trailing \
- name: Test tab path {{ tab }}
win_stat: