Adds integration test steps to win_regedit test to cover Extras 2090 (#15641)
* Adds integration test steps to win_regedit test to cover Extras 2090 * Fixed merge conflict and error in win_regedit integration tests * fixed pep8 space after comma requirement discovered by ci build
This commit is contained in:
parent
7891859051
commit
a1047e6273
1 changed files with 25 additions and 0 deletions
|
@ -389,6 +389,31 @@
|
|||
that:
|
||||
- "check62_result.changed == false"
|
||||
|
||||
# check can use yaml array of bytes as input
|
||||
- name: regedit binary data using yaml syntax
|
||||
win_regedit:
|
||||
key: 'HKCU:\SOFTWARE\Cow Corp'
|
||||
value: hellobinaryfromyaml
|
||||
data: [0x21, 0xb3, 0x33, 0xf9, 0x0d, 0xff, 0xd0, 0x01]
|
||||
datatype: binary
|
||||
register: check63_result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "check63_result.changed == true"
|
||||
|
||||
- name: regedit binary data using yaml syntax again
|
||||
win_regedit:
|
||||
key: 'HKCU:\SOFTWARE\Cow Corp'
|
||||
value: hellobinaryfromyaml
|
||||
data: [0x21, 0xb3, 0x33, 0xf9, 0x0d, 0xff, 0xd0, 0x01]
|
||||
datatype: binary
|
||||
register: check64_result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "check64_result.changed == false"
|
||||
|
||||
# test dword
|
||||
|
||||
- name: check basic set dword works
|
||||
|
|
Loading…
Reference in a new issue