summaryrefslogtreecommitdiff
path: root/tests/src/CLRTest.Execute.Bash.targets
diff options
context:
space:
mode:
authorAndy Ayers <andya@micrsoft.com>2015-11-21 11:15:48 -0800
committerAndy Ayers <andya@micrsoft.com>2015-11-21 11:33:55 -0800
commit83b14faab4bd81047032853171d8a87e1430f02b (patch)
treea3526603d931643e4074bbb41601cd52cebe0413 /tests/src/CLRTest.Execute.Bash.targets
parent51d30241b33acc040707d04d6f0bff1b1d5cae2f (diff)
downloadcoreclr-83b14faab4bd81047032853171d8a87e1430f02b.tar.gz
coreclr-83b14faab4bd81047032853171d8a87e1430f02b.tar.bz2
coreclr-83b14faab4bd81047032853171d8a87e1430f02b.zip
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.
Diffstat (limited to 'tests/src/CLRTest.Execute.Bash.targets')
-rw-r--r--tests/src/CLRTest.Execute.Bash.targets6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/CLRTest.Execute.Bash.targets b/tests/src/CLRTest.Execute.Bash.targets
index 6fd6a6b6ef..5d04daf2da 100644
--- a/tests/src/CLRTest.Execute.Bash.targets
+++ b/tests/src/CLRTest.Execute.Bash.targets
@@ -132,7 +132,7 @@ fi
<ParamText>=*</ParamText> <!-- Bash specific -->
<ParamName>debuggerFullPath</ParamName>
<Command><![CDATA[ _DebuggerFullPath="${i#*=}"
- if [ ! -f DebuggerFullPath ]
+ if [ ! -f "$_DebuggerFullPath" ]
then
echo The Debugger FullPath \"$_DebuggerFullPath\" doesn\'t exist
usage
@@ -196,10 +196,10 @@ usage()
echo "Usage: $0 $(_CLRTestParamList)"
echo
echo "Arguments:"
-@(BatchCLRTestExecutionScriptArgument -> ' echo "-%(Identity) %(ParamName)"
+@(BatchCLRTestExecutionScriptArgument -> ' echo "-%(Identity)=%(ParamName)"
echo "%(Description)"', '
')
- echo " -?,-h,--help show this message"
+ echo "-?,-h,--help show this message"
exit 1
}