mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
windows argv to string module utility (#28970)
* windows argv to string module utility * rebased PR with latest devel branch
This commit is contained in:
parent
ed342e8ce3
commit
b663f602bc
4 changed files with 191 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
that:
|
||||
- sid_test.data == 'success'
|
||||
|
||||
- name: create testing folder for argv binary
|
||||
- name: create temp testing folder
|
||||
win_file:
|
||||
path: C:\ansible testing
|
||||
state: directory
|
||||
|
@ -67,6 +67,15 @@
|
|||
that:
|
||||
- command_util.data == 'success'
|
||||
|
||||
- name: call module with ArgvParser tests
|
||||
argv_parser_test:
|
||||
exe: C:\ansible testing\PrintArgv.exe
|
||||
register: argv_test
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- argv_test.data == 'success'
|
||||
|
||||
- name: remove testing folder
|
||||
win_file:
|
||||
path: C:\ansible testing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue