Skip to content

Commit 6936820

Browse files
Merge pull request dotnet#2132 from AndyAyersMS/FixLinuxTestScript
Fix generated test script to properly check for debugger
2 parents 8545a62 + 83b14fa commit 6936820

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/src/CLRTest.Execute.Bash.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ fi
132132
<ParamText>=*</ParamText> <!-- Bash specific -->
133133
<ParamName>debuggerFullPath</ParamName>
134134
<Command><![CDATA[ _DebuggerFullPath="${i#*=}"
135-
if [ ! -f DebuggerFullPath ]
135+
if [ ! -f "$_DebuggerFullPath" ]
136136
then
137137
echo The Debugger FullPath \"$_DebuggerFullPath\" doesn\'t exist
138138
usage
@@ -196,10 +196,10 @@ usage()
196196
echo "Usage: $0 $(_CLRTestParamList)"
197197
echo
198198
echo "Arguments:"
199-
@(BatchCLRTestExecutionScriptArgument -> ' echo "-%(Identity) %(ParamName)"
199+
@(BatchCLRTestExecutionScriptArgument -> ' echo "-%(Identity)=%(ParamName)"
200200
echo "%(Description)"', '
201201
')
202-
echo " -?,-h,--help show this message"
202+
echo "-?,-h,--help show this message"
203203
exit 1
204204
}
205205

0 commit comments

Comments
 (0)