diff options
author | Bevan Weiss <bevan.weiss@gmail.com> | 2024-06-23 22:30:38 +1000 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2024-07-04 19:25:49 -0400 |
commit | 18bb064b71cef2b02eba333cb4f7248ecac628f0 (patch) | |
tree | d54f2a65e153397f84402e42476dcf13735aed35 /src/test | |
parent | 491ffc337a9f5688caccc18cc489bce8056858b6 (diff) | |
download | wix-18bb064b71cef2b02eba333cb4f7248ecac628f0.tar.gz wix-18bb064b71cef2b02eba333cb4f7248ecac628f0.tar.bz2 wix-18bb064b71cef2b02eba333cb4f7248ecac628f0.zip |
Wrap variable sets in double quotes so special characters don't break them.
By default enable /noauth and /anyuser on the debugger, and don't show the
security warning (/nosecuritywarn).
It'll still show the firewall warning prompt. Default settings should be
fine for firewall (Private networks).
Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/sandbox/runtest_menu.bat | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/sandbox/runtest_menu.bat b/src/test/sandbox/runtest_menu.bat index cd11a553..dbddff2e 100644 --- a/src/test/sandbox/runtest_menu.bat +++ b/src/test/sandbox/runtest_menu.bat | |||
@@ -9,11 +9,11 @@ REM to change for each invocation of the Sandbox environment | |||
9 | for /f "tokens=2 delims=[]" %%a in ('ping -n 1 -4 ""') do set IPAddr=%%a | 9 | for /f "tokens=2 delims=[]" %%a in ('ping -n 1 -4 ""') do set IPAddr=%%a |
10 | @if %PROCESSOR_ARCHITECTURE%=="ARM64" ( | 10 | @if %PROCESSOR_ARCHITECTURE%=="ARM64" ( |
11 | @if exist C:\sandbox\Debugger\ARM64\msvsmon.exe ( | 11 | @if exist C:\sandbox\Debugger\ARM64\msvsmon.exe ( |
12 | set MsVsMonPath=C:\sandbox\Debugger\ARM64\msvsmon.exe | 12 | set "MsVsMonPath=C:\sandbox\Debugger\ARM64\msvsmon.exe /noauth /anyuser /nosecuritywarn" |
13 | ) | 13 | ) |
14 | ) else ( | 14 | ) else ( |
15 | @if exist C:\sandbox\Debugger\x64\msvsmon.exe ( | 15 | @if exist C:\sandbox\Debugger\x64\msvsmon.exe ( |
16 | set MsVsMonPath=C:\sandbox\Debugger\x64\msvsmon.exe | 16 | set "MsVsMonPath=C:\sandbox\Debugger\x64\msvsmon.exe /noauth /anyuser /nosecuritywarn" |
17 | ) | 17 | ) |
18 | ) | 18 | ) |
19 | 19 | ||
@@ -53,13 +53,13 @@ set "TestIs=!option[%SelectTest%]!" | |||
53 | if not "%SelectTest%"=="0" ( | 53 | if not "%SelectTest%"=="0" ( |
54 | REM for the non-Debugger options, we want to get the basepath | 54 | REM for the non-Debugger options, we want to get the basepath |
55 | REM the file name, and a TestName component.. | 55 | REM the file name, and a TestName component.. |
56 | for %%a in (%TestIs%) do set FileDir=%%~dpa | 56 | for %%a in (%TestIs%) do set "FileDir=%%~dpa" |
57 | for %%b in (%TestIs%) do set FileName=%%~nxb | 57 | for %%b in (%TestIs%) do set "FileName=%%~nxb" |
58 | 58 | ||
59 | REM since we start from C:\build, the 3rd token in '\' is | 59 | REM since we start from C:\build, the 3rd token in '\' is |
60 | REM the 'IntegrationMsi' naming that looks good for a TestName | 60 | REM the 'IntegrationMsi' naming that looks good for a TestName |
61 | for /f "tokens=3 delims=\" %%c in ("%TestIs%") do ( | 61 | for /f "tokens=3 delims=\" %%c in ("%TestIs%") do ( |
62 | set TestName=%%c | 62 | set "TestName=%%c" |
63 | ) | 63 | ) |
64 | 64 | ||
65 | REM We just start these as a separate window | 65 | REM We just start these as a separate window |