From 0fb916c35e0105a754bf8afefb6269b8c60961ee Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Fri, 26 Jan 2018 20:44:40 +1000 Subject: [PATCH] more Azure test fixes for Windows (#35386) --- test/integration/targets/win_owner/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/win_owner/tasks/main.yml b/test/integration/targets/win_owner/tasks/main.yml index 75828820a8..00e049291c 100644 --- a/test/integration/targets/win_owner/tasks/main.yml +++ b/test/integration/targets/win_owner/tasks/main.yml @@ -184,7 +184,7 @@ - name: get owner of folder of set owner with space recurse win_command: powershell.exe "(Get-Acl -Path '{{test_win_owner_path}}\\{{item}}').Owner" register: actual_recurse_space - failed_when: actual_recurse_space.stdout_lines[0]|upper != ansible_hostname + '\\TEST WIN OWNER' + failed_when: actual_recurse_space.stdout_lines[0]|upper != ansible_hostname|upper + '\\TEST WIN OWNER' with_items: - folder with space - folder with space\file.txt @@ -208,7 +208,7 @@ - name: get owner of folder of set owner with space recurse again win_command: powershell.exe "(Get-Acl -Path '{{test_win_owner_path}}\\{{item}}').Owner" register: actual_recurse_space_again - failed_when: actual_recurse_space_again.stdout_lines[0]|upper != ansible_hostname + '\\TEST WIN OWNER' + failed_when: actual_recurse_space_again.stdout_lines[0]|upper != ansible_hostname|upper + '\\TEST WIN OWNER' with_items: - folder with space - folder with space\file.txt