diff options
author | Martin Baulig <mabaul@microsoft.com> | 2019-02-01 16:09:30 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-02-01 16:09:30 +0300 |
commit | 2f411750acfd2132f9b4970ef8cf11d9a0f62df9 (patch) | |
tree | 9cbe04bbe431151ed38c0f2a2d9fc307d0a0a5ed /runtime | |
parent | af70768885ef3d403db534ed1bd8af798cbc80e0 (diff) |
"Imperial Red": Bring HttpClient from CoreFx (#11906)
This brings `System.Net.Http` from CoreFx.
It is currently only enabled on Desktop Mac and Linux; Mobile is coming shortly.
Diffstat (limited to 'runtime')
-rwxr-xr-x | runtime/mono-test.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/mono-test.sh b/runtime/mono-test.sh index 152608199ae..2afb9177ae0 100755 --- a/runtime/mono-test.sh +++ b/runtime/mono-test.sh @@ -22,6 +22,13 @@ echo "-------------------------------------------------------------------------- "${MONO_EXECUTABLE}" --version echo "---------------------------------------------------------------------------------------" +case "$(uname)" in + "Linux") + mkdir -p ~/.config/.mono/ + wget -qO- https://download.mono-project.com/test/new-certs.tgz| tar zx -C ~/.config/.mono/ + ;; +esac + if [ "$test_suite" = "--xunit" ]; then cd net_4_x || exit 1 export MONO_PATH="$r/net_4_x/tests:$MONO_PATH" @@ -32,6 +39,9 @@ if [ "$test_suite" = "--xunit" ]; then export LD_LIBRARY_PATH="$r:$LD_LIBRARY_PATH" export DYLD_LIBRARY_PATH="$r:$LD_LIBRARY_PATH" ;; + *"System.Net.Http"*) + export MONO_URI_DOTNETRELATIVEORABSOLUTE=true + ;; esac case "$(uname)" in "Darwin") |