From 6b111e46ba62f85072a90436a6a84a12b6ec4698 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Tue, 18 Feb 2020 10:29:30 +1000 Subject: [PATCH] Win tests - prepare for collection migration in tests (#67506) --- test/integration/targets/win_package/tasks/msix_tests.yml | 4 +--- test/integration/targets/win_reg_stat/tasks/main.yml | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/test/integration/targets/win_package/tasks/msix_tests.yml b/test/integration/targets/win_package/tasks/msix_tests.yml index 738c6ef0205..1cec9d7bfae 100644 --- a/test/integration/targets/win_package/tasks/msix_tests.yml +++ b/test/integration/targets/win_package/tasks/msix_tests.yml @@ -14,9 +14,7 @@ dest: '{{ test_path }}\makeappx.zip' - name: extract makeappx binaries - win_unzip: - src: '{{ test_path }}\makeappx.zip' - dest: '{{ test_path }}\makeappx' + win_shell: Expand-Archive -LiteralPath '{{ test_path }}\makeappx.zip' -DestinationPath '{{ test_path }}\makeappx' - name: setup MSIX packages win_make_appx: diff --git a/test/integration/targets/win_reg_stat/tasks/main.yml b/test/integration/targets/win_reg_stat/tasks/main.yml index 654aeebd111..bb12c91665e 100644 --- a/test/integration/targets/win_reg_stat/tasks/main.yml +++ b/test/integration/targets/win_reg_stat/tasks/main.yml @@ -9,8 +9,7 @@ dest: '{{ win_output_dir }}\test_reg.reg' - name: import test registry structure - win_regmerge: - path: '{{ win_output_dir }}\test_reg.reg' + win_command: reg.exe import "{{ win_output_dir }}\test_reg.reg" - block: - name: run tests