Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <mabaul@microsoft.com>2019-02-01 16:09:30 +0300
committerMarek Safar <marek.safar@gmail.com>2019-02-01 16:09:30 +0300
commit2f411750acfd2132f9b4970ef8cf11d9a0f62df9 (patch)
tree9cbe04bbe431151ed38c0f2a2d9fc307d0a0a5ed /runtime
parentaf70768885ef3d403db534ed1bd8af798cbc80e0 (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-xruntime/mono-test.sh10
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")