Update Syntax T1040 (#710)
Windows' tests not running because of space in "Program Files". Added quotes to fix this. PowerShell not running exes by default. Added call operator (&) to force this.
This commit is contained in:
committed by
Carrie Roberts
parent
08dc1f0066
commit
5256d3ada1
@@ -52,7 +52,7 @@ atomic_tests:
|
||||
name: command_prompt
|
||||
elevation_required: true
|
||||
command: |
|
||||
c:\Program Files\Wireshark\tshark.exe -i #{interface} -c 5
|
||||
"c:\Program Files\Wireshark\tshark.exe" -i #{interface} -c 5
|
||||
c:\windump.exe
|
||||
|
||||
- name: Packet Capture PowerShell
|
||||
@@ -70,5 +70,5 @@ atomic_tests:
|
||||
name: powershell
|
||||
elevation_required: true
|
||||
command: |
|
||||
c:\Program Files\Wireshark\tshark.exe -i #{interface} -c 5
|
||||
c:\windump.exe
|
||||
& "c:\Program Files\Wireshark\tshark.exe" -i #{interface} -c 5
|
||||
& c:\windump.exe
|
||||
|
||||
Reference in New Issue
Block a user