Skip to content

Commit 83b14fa

Browse files
author
Andy Ayers
committed
Fix generated test script to properly check for debugger
Also tried fixing the generated help to show that you need `=`. This should be conditional based on `HasParam` but since there is only one switch it works for now.
1 parent 51d3024 commit 83b14fa

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)