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:
Brian Thacker
2019-12-09 17:01:56 -06:00
committed by Carrie Roberts
parent 08dc1f0066
commit 5256d3ada1
+3 -3
View File
@@ -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