diff options
author | Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com> | 2015-11-24 11:01:42 -0800 |
---|---|---|
committer | Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com> | 2015-11-24 11:01:42 -0800 |
commit | 6936820475b8c6b66de1807b0d123c195e18b868 (patch) | |
tree | 17c886c6eb78c2be0665ea5aaa3071984c9c7333 /tests/src/CLRTest.Execute.Bash.targets | |
parent | 8545a6252801ba01044fa5745624f7a3614eb730 (diff) | |
parent | 83b14faab4bd81047032853171d8a87e1430f02b (diff) | |
download | coreclr-6936820475b8c6b66de1807b0d123c195e18b868.tar.gz coreclr-6936820475b8c6b66de1807b0d123c195e18b868.tar.bz2 coreclr-6936820475b8c6b66de1807b0d123c195e18b868.zip |
Merge pull request #2132 from AndyAyersMS/FixLinuxTestScript
Fix generated test script to properly check for debugger
Diffstat (limited to 'tests/src/CLRTest.Execute.Bash.targets')
-rw-r--r-- | tests/src/CLRTest.Execute.Bash.targets | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/CLRTest.Execute.Bash.targets b/tests/src/CLRTest.Execute.Bash.targets index da86a245f8..f0543f714a 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 } |