pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mono-git: Fix shell portability



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Apr 16 18:51:12 2016 +0200
Changeset:	2e0e1becadeb2cf93b35d36e64a839f1614bbab3

Modified Files:
	mono-git/distinfo
Added Files:
	mono-git/patches/patch-mono_tests_verifier_make__access__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__bad__op__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__bin__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__boxed__genarg__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__branch__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__call__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__cmmp__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__cpobj__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__cross__nested__access__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__ctor__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__delegate__compat__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__double__nesting__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__exception__overlap__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__field__store__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__initobj__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__ldobj__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__localloc__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__nested__access__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__obj__store__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__overlapped__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__stobj__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__switch__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__tail__call__test.sh
	mono-git/patches/patch-mono_tests_verifier_make__tests.sh
	mono-git/patches/patch-mono_tests_verifier_make__unbox__test.sh

Log Message:
mono-git: Fix shell portability

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2e0e1becadeb2cf93b35d36e64a839f1614bbab3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mono-git/distinfo                                  |  25 +++
 ...patch-mono_tests_verifier_make__access__test.sh |  29 +++
 ...atch-mono_tests_verifier_make__bad__op__test.sh |  13 ++
 .../patch-mono_tests_verifier_make__bin__test.sh   |  20 ++
 ...ono_tests_verifier_make__boxed__genarg__test.sh |  13 ++
 ...patch-mono_tests_verifier_make__branch__test.sh |  13 ++
 .../patch-mono_tests_verifier_make__call__test.sh  |  13 ++
 .../patch-mono_tests_verifier_make__cmmp__test.sh  |  13 ++
 .../patch-mono_tests_verifier_make__cpobj__test.sh |  25 +++
 ...s_verifier_make__cross__nested__access__test.sh |  22 +++
 .../patch-mono_tests_verifier_make__ctor__test.sh  |  13 ++
 ..._tests_verifier_make__delegate__compat__test.sh |  22 +++
 ...o_tests_verifier_make__double__nesting__test.sh |  31 ++++
 ...ests_verifier_make__exception__overlap__test.sh |  22 +++
 ...mono_tests_verifier_make__field__store__test.sh |  13 ++
 ...atch-mono_tests_verifier_make__initobj__test.sh |  13 ++
 .../patch-mono_tests_verifier_make__ldobj__test.sh |  13 ++
 ...tch-mono_tests_verifier_make__localloc__test.sh |  47 +++++
 ...no_tests_verifier_make__nested__access__test.sh |  20 ++
 ...h-mono_tests_verifier_make__obj__store__test.sh |  13 ++
 ...h-mono_tests_verifier_make__overlapped__test.sh |  13 ++
 .../patch-mono_tests_verifier_make__stobj__test.sh |  13 ++
 ...patch-mono_tests_verifier_make__switch__test.sh |  13 ++
 ...h-mono_tests_verifier_make__tail__call__test.sh |  13 ++
 .../patch-mono_tests_verifier_make__tests.sh       | 202 +++++++++++++++++++++
 .../patch-mono_tests_verifier_make__unbox__test.sh |  13 ++
 26 files changed, 660 insertions(+)

diffs:
diff --git a/mono-git/distinfo b/mono-git/distinfo
index b56d788..372a2e6 100644
--- a/mono-git/distinfo
+++ b/mono-git/distinfo
@@ -4,3 +4,28 @@ SHA1 (mono-4.4.0.122.tar.bz2) = 132a8e9aa422e82ccdb776c7cc1db89ce140b0b3
 RMD160 (mono-4.4.0.122.tar.bz2) = 41d58720d7cb4f510cad64c1dbecdd9a6c9d19a1
 SHA512 (mono-4.4.0.122.tar.bz2) = 264b3779fc94e40c44f8cc637169d7f3a6367ead75b932069bc0498d53c13ea62ef5711784d1bc0767b85e0cb04424b9eee0ce7ed10772076902b55210097a10
 Size (mono-4.4.0.122.tar.bz2) = 84904723 bytes
+SHA1 (patch-mono_tests_verifier_make__access__test.sh) = d8808eafe0dbc94f6b4cee7fb8c97c3394142c33
+SHA1 (patch-mono_tests_verifier_make__bad__op__test.sh) = 6cf7567d442ab1a549214d12b4dacf37c2528871
+SHA1 (patch-mono_tests_verifier_make__bin__test.sh) = a5abd47ebb25c41ff4a4b8d15c70bf7cad81e52a
+SHA1 (patch-mono_tests_verifier_make__boxed__genarg__test.sh) = aee1064e7653c78fe02bedc4c9a372745539a811
+SHA1 (patch-mono_tests_verifier_make__branch__test.sh) = 7ebf1eda2e077ddc6b63def0048c48984662203c
+SHA1 (patch-mono_tests_verifier_make__call__test.sh) = 3638e05ee73bc6d9566f4b8a226636f8ca1d6058
+SHA1 (patch-mono_tests_verifier_make__cmmp__test.sh) = c0c446daaa9505d545c15f122be555178538165d
+SHA1 (patch-mono_tests_verifier_make__cpobj__test.sh) = 968e8f36709db2826182ca7b3ca2ace8f0c1ed32
+SHA1 (patch-mono_tests_verifier_make__cross__nested__access__test.sh) = e43050ea0dc6d259f7db57e2bdd1c7bd76b05c36
+SHA1 (patch-mono_tests_verifier_make__ctor__test.sh) = 07e7ac833d1244742fcd72a513171025befcf7ce
+SHA1 (patch-mono_tests_verifier_make__delegate__compat__test.sh) = 0f276a9b84a953c063dd0409877589c116371d45
+SHA1 (patch-mono_tests_verifier_make__double__nesting__test.sh) = 4433baf4af832515affb21f6a7c61d25eaaa8e53
+SHA1 (patch-mono_tests_verifier_make__exception__overlap__test.sh) = 36f312aee68ef8d5a0b0c1708847db3cedcb065a
+SHA1 (patch-mono_tests_verifier_make__field__store__test.sh) = ebceb2935e90c86936edaeccecf6057f69a22372
+SHA1 (patch-mono_tests_verifier_make__initobj__test.sh) = 606adcccf0bc36bbd07a279e6ef872884a23d1dd
+SHA1 (patch-mono_tests_verifier_make__ldobj__test.sh) = 249a80313e8724ddf7e2c1daf78b711e0ed7dd7b
+SHA1 (patch-mono_tests_verifier_make__localloc__test.sh) = ff206a451c3feacfbbeb4c2a03344a92304c2238
+SHA1 (patch-mono_tests_verifier_make__nested__access__test.sh) = 4a6956e8af3249ddd8e5e6cda6b05bd1af93018d
+SHA1 (patch-mono_tests_verifier_make__obj__store__test.sh) = b4f600d7957ae0e900094605ef5f927c7d8fc340
+SHA1 (patch-mono_tests_verifier_make__overlapped__test.sh) = 7d155747fc920b63d160263e75350c04bcfaed2b
+SHA1 (patch-mono_tests_verifier_make__stobj__test.sh) = 7619d5981111b696ab0f13c113d9420ddf8dc2e8
+SHA1 (patch-mono_tests_verifier_make__switch__test.sh) = 1f967fa68b3e889846ce8f6fdc3d44f1af52715b
+SHA1 (patch-mono_tests_verifier_make__tail__call__test.sh) = e7ea47858bf45a2ab492933e397afab209fa4a7e
+SHA1 (patch-mono_tests_verifier_make__tests.sh) = eb090981fb75d68566fb1d8accbdc5e2ead8703d
+SHA1 (patch-mono_tests_verifier_make__unbox__test.sh) = 28c885c5ae3da474598c1ff092760a806a2559e6
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__access__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__access__test.sh
new file mode 100644
index 0000000..8dbedfa
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__access__test.sh
@@ -0,0 +1,29 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_access_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_access_test.sh
+@@ -13,7 +13,7 @@ TEST_MEMBER_ACCESS=$5
+ TEST_EXTENDS=$6
+ TEST_USE_SUB_CLASS=$7
+ 
+-if [ "$TEST_EXTENDS" == "yes" ]; then
++if [ "$TEST_EXTENDS" = "yes" ]; then
+ 	TEST_EXTENDS="extends Class"
+ 	TEST_SUPER_TYPE="Class"
+ else
+@@ -21,7 +21,7 @@ else
+ 	TEST_SUPER_TYPE="object"
+ fi
+ 
+-if [ "$TEST_USE_SUB_CLASS" == "yes" ]; then
++if [ "$TEST_USE_SUB_CLASS" = "yes" ]; then
+ 	TEST_VAR_TYPE="ExampleClass"
+ else
+ 	TEST_VAR_TYPE="Class"
+@@ -87,4 +87,4 @@ $SED -e "s/SUPER_TYPE/${TEST_SUPER_TYPE}
+ 		ret
+ 	}
+ }
+-//EOF
+\ No newline at end of file
++//EOF
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__bad__op__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__bad__op__test.sh
new file mode 100644
index 0000000..487b290
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__bad__op__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_bad_op_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_bad_op_test.sh
+@@ -11,7 +11,7 @@ TEST_BYTE_0=$3
+ TEST_BYTE_1=$4
+ 
+ 
+-if [ "$TEST_BYTE_1" == "" ] ; then
++if [ "x$TEST_BYTE_1" = "x" ] ; then
+ 	TEST_BYTE_1="0";
+ fi
+ 
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__bin__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__bin__test.sh
new file mode 100644
index 0000000..99a647c
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__bin__test.sh
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_bin_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_bin_test.sh
+@@ -12,7 +12,7 @@ TEST_TYPE2=$5
+ TEST_INIT_EXP=$6
+ TEST_INIT_VAL=$7
+ 
+-if [ "$TEST_INIT_VAL" == "yes" ]; then
++if [ "$TEST_INIT_VAL" = "yes" ]; then
+ 	TEST_INIT="$TEST_INIT_EXP\n\t\stloc.1"
+ else
+ 	TEST_INIT=""
+@@ -50,4 +50,4 @@ $SED -e "s/INIT/${TEST_INIT}/g" -e "s/VA
+ 	ldc.i4.0
+ 	ret
+ }
+-//EOF
+\ No newline at end of file
++//EOF
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__boxed__genarg__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__boxed__genarg__test.sh
new file mode 100644
index 0000000..6718544
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__boxed__genarg__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_boxed_genarg_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_boxed_genarg_test.sh
+@@ -11,7 +11,7 @@ TEST_OP=$3
+ TEST_BEFORE_OP=$4
+ TEST_CONSTRAINT_TYPE=$5
+ 
+-if [ "$TEST_CONSTRAINT_TYPE" == "" ]; then
++if [ "x$TEST_CONSTRAINT_TYPE" = "x" ]; then
+ 	TEST_CONSTRAINT_TYPE="IFace";
+ fi
+ 
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__branch__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__branch__test.sh
new file mode 100644
index 0000000..8b5a74c
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__branch__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_branch_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_branch_test.sh
+@@ -11,7 +11,7 @@ TEST_POS=$3
+ TEST_OP=$4
+ TEST_FIN=$5
+ 
+-if [ "$TEST_FIN" == "" ]; then
++if [ "x$TEST_FIN" = "x" ]; then
+ 	TEST_FIN="finally";
+ fi
+ 
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__call__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__call__test.sh
new file mode 100644
index 0000000..5591e9c
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__call__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_call_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_call_test.sh
+@@ -12,7 +12,7 @@ TEST_LOAD_ARGS=$4
+ TEST_INSTANCE_METHOD=$5
+ TEST_EXTRA_STUFF=$6
+ 
+-if [ "$TEST_INSTANCE_METHOD" == "instance" ]; then
++if [ "$TEST_INSTANCE_METHOD" = "instance" ]; then
+ 	MEMBER_TEST_OP=$TEST_OP
+ 	MEMBER_TEST_LOAD_ARGS=$TEST_LOAD_ARGS
+ 	MEMBER_TEST_EXTRA_STUFF=$6
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__cmmp__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__cmmp__test.sh
new file mode 100644
index 0000000..41b9e58
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__cmmp__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_cmmp_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_cmmp_test.sh
+@@ -14,7 +14,7 @@ TEST_BEFORE_OP=$6
+ 
+ echo $TEST_OP | grep unbox > /dev/null;
+ 
+-if [ "$?" == "0" ]; then
++if [ $? -eq 0 ]; then
+ 	TEST_CODE="
+ 	ldloc.0
+ 	box $TEST_TYPE";
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__cpobj__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__cpobj__test.sh
new file mode 100644
index 0000000..2adef99
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__cpobj__test.sh
@@ -0,0 +1,25 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_cpobj_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_cpobj_test.sh
+@@ -15,7 +15,7 @@ TEST_EXTRA_OPS=$6
+ ZZ=`echo $TEST_TYPE1 | grep "\&"`
+ T1_REF=$?
+ 
+-if [ "$T1_REF" == "0" ]; then
++if [ $T1_REF -eq 0 ]; then
+ 	T1_NO_REF=`echo $TEST_TYPE1 | cut -d '\' -f 1`
+ 	INIT_LOCS=", $T1_NO_REF V_2"
+ 	INIT_IL="ldloca.s 2\n\tstloc.0"
+@@ -24,9 +24,9 @@ fi
+ ZZ=`echo $TEST_TYPE2 | grep "\&"`
+ T2_REF=$?
+ 
+-if [ "$T2_REF" == "0" ]; then
++if [ $T2_REF -eq 0 ]; then
+ 	T2_NO_REF=`echo $TEST_TYPE2 | cut -d '\' -f 1`
+-	if [ "$T1_REF" == "0" ]; then
++	if [ $T1_REF -eq 0 ]; then
+ 		INIT_LOCS="$INIT_LOCS , $T2_NO_REF V_3"
+ 		INIT_IL="$INIT_IL \n\tldloca.s 3\n\tstloc.1"
+ 	else
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__cross__nested__access__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__cross__nested__access__test.sh
new file mode 100644
index 0000000..9152742
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__cross__nested__access__test.sh
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_cross_nested_access_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_cross_nested_access_test.sh
+@@ -14,7 +14,7 @@ TEST_EXTENDS=$6
+ TEST_LOAD_BASE=$7
+ 
+ 
+-if [ "$TEST_EXTENDS" == "yes" ]; then
++if [ "$TEST_EXTENDS" = "yes" ]; then
+ 	TEST_EXTENDS="extends Owner\/Nested"
+ 	TEST_CONSTRUCTOR="call instance void Owner\/Nested::.ctor()"
+ else
+@@ -22,7 +22,7 @@ else
+ 	TEST_CONSTRUCTOR="call instance void object::.ctor()"
+ fi
+ 
+-if [ "$TEST_LOAD_BASE" == "yes" ]; then
++if [ "$TEST_LOAD_BASE" = "yes" ]; then
+ 	TEST_LOAD_REF="ldarg.0"
+ else
+ 	TEST_LOAD_REF="call class Owner\/Nested Owner::Create ()"
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__ctor__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__ctor__test.sh
new file mode 100644
index 0000000..8561c1f
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__ctor__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_ctor_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_ctor_test.sh
+@@ -13,7 +13,7 @@ TEST_TARGET_TYPE=$4
+ TARGET_TYPE="Test"
+ TEST_OTHER_CODE="call instance void TestClass::'.ctor'()"
+ 
+-if [ "$TEST_TARGET_TYPE" == "other" ]; then
++if [ "$TEST_TARGET_TYPE" = "other" ]; then
+ 	TARGET_TYPE="TestSubClass"
+ 	TEST_OTHER_CODE=$TEST_CODE
+ 	TEST_CODE=""
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__delegate__compat__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__delegate__compat__test.sh
new file mode 100644
index 0000000..b390f34
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__delegate__compat__test.sh
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_delegate_compat_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_delegate_compat_test.sh
+@@ -26,7 +26,7 @@ fi
+ RET_2_LOCAL="$TEST_RET_TYPE2"
+ RET_2_OP="ldloc 0"
+ 
+-if [ "$TEST_RET_TYPE2" == "void" ]; then
++if [ "$TEST_RET_TYPE2" = "void" ]; then
+ 	RET_2_LOCAL="int32"
+ 	RET_2_OP="nop"
+ fi
+@@ -47,7 +47,7 @@ MANAGED_METHOD="
+ 	}
+ "
+ 
+-if [ "$TEST_USE_NATIVE" == "pinvoke" ]; then
++if [ "$TEST_USE_NATIVE" = "pinvoke" ]; then
+ 	LDFTN="ldftn $TCONV_2 ${TEST_RET_TYPE2} Driver::NativeMethod(${TEST_PARAM_TYPE2})"
+ 	CALLVIRT="nop"
+ 	MANAGED_METHOD=""
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__double__nesting__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__double__nesting__test.sh
new file mode 100644
index 0000000..bb97985
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__double__nesting__test.sh
@@ -0,0 +1,31 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_double_nesting_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_double_nesting_test.sh
+@@ -16,7 +16,7 @@ TEST_NESTED_EXTENDS=$8
+ TEST_LOAD_BASE=$9
+ 
+ 
+-if [ "$TEST_BASE_EXTENDS" == "yes" ]; then
++if [ "$TEST_BASE_EXTENDS" = "yes" ]; then
+ 	TEST_BASE_EXTENDS="extends Root"
+ 	TEST_BASE_CONSTRUCTOR="call instance void Root::.ctor()"
+ else
+@@ -24,7 +24,7 @@ else
+ 	TEST_BASE_CONSTRUCTOR="call instance void object::.ctor()"
+ fi
+ 
+-if [ "$TEST_NESTED_EXTENDS" == "yes" ]; then
++if [ "$TEST_NESTED_EXTENDS" = "yes" ]; then
+ 	TEST_NESTED_EXTENDS="extends Root\/Nested"
+ 	TEST_NESTED_CONSTRUCTOR="call instance void Root\/Nested::.ctor()"
+ else
+@@ -32,7 +32,7 @@ else
+ 	TEST_NESTED_CONSTRUCTOR="call instance void object::.ctor()"
+ fi
+ 
+-if [ "$TEST_LOAD_BASE" == "yes" ]; then
++if [ "$TEST_LOAD_BASE" = "yes" ]; then
+ 	TEST_LOAD_REF="ldarg.0"
+ else
+ 	TEST_LOAD_REF="call class Root\/Nested Root::Create ()"
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__exception__overlap__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__exception__overlap__test.sh
new file mode 100644
index 0000000..a0c502b
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__exception__overlap__test.sh
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_exception_overlap_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_exception_overlap_test.sh
+@@ -12,7 +12,7 @@ TEST_BLOCK_2=$4
+ TEST_WITH_FILTER_BLOCK=$5
+ TEST_WITH_FINALLY_BLOCK=$6
+ 
+-if [ "$TEST_WITH_FILTER_BLOCK" == "yes" ]; then
++if [ "$TEST_WITH_FILTER_BLOCK" = "yes" ]; then
+ 	FILTER_BLOCK="
+ FILTER_BLOCK_3:
+ 	nop
+@@ -35,7 +35,7 @@ else
+ 	FILTER_BLOCK="";
+ fi
+ 
+-if [ "$TEST_WITH_FINALLY_BLOCK" == "yes" ]; then
++if [ "$TEST_WITH_FINALLY_BLOCK" = "yes" ]; then
+ 	FINALLY_BLOCK="
+ FINALLY_BLOCK_1:
+ 	nop
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__field__store__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__field__store__test.sh
new file mode 100644
index 0000000..7f09909
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__field__store__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_field_store_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_field_store_test.sh
+@@ -11,7 +11,7 @@ TEST_OP=$3
+ TEST_TYPE1=$4
+ TEST_TYPE2=$5
+ TEST_EMIT_CSTOR=$6
+-if [ "${TEST_EMIT_CSTOR}" == "yes" ]; then
++if [ "${TEST_EMIT_CSTOR}" = "yes" ]; then
+ 	TEST_CSTOR="newobj instance void ${TEST_TYPE2}::.ctor()";
+ else
+ 	TEST_CSTOR="ldloc.0";
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__initobj__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__initobj__test.sh
new file mode 100644
index 0000000..c1e33e6
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__initobj__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_initobj_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_initobj_test.sh
+@@ -14,7 +14,7 @@ ZZ=`echo $TEST_TYPE1 | grep "\&"`
+ T1_REF=$?
+ 
+ LOCAL_INIT="";
+-if [ "$T1_REF" == "0" ]; then
++if [ $T1_REF -eq 0 ]; then
+ 	T1_NO_REF=`echo $TEST_TYPE1 | cut -d '\' -f 1`
+ 	INIT_LOCS=", $T1_NO_REF V_0"
+ 	INIT_IL="ldloca.s 1\n\tstloc.0"
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__ldobj__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__ldobj__test.sh
new file mode 100644
index 0000000..4e53196
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__ldobj__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_ldobj_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_ldobj_test.sh
+@@ -13,7 +13,7 @@ ZZ=`echo $TEST_TYPE1 | grep "\&"`
+ T1_REF=$?
+ 
+ LOCAL_INIT="";
+-if [ "$T1_REF" == "0" ]; then
++if [ $T1_REF -eq 0 ]; then
+ 	T1_NO_REF=`echo $TEST_TYPE1 | cut -d '\' -f 1`
+ 	INIT_LOCS=", $T1_NO_REF V_0"
+ 	INIT_IL="ldloca.s 1\n\tstloc.0"
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__localloc__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__localloc__test.sh
new file mode 100644
index 0000000..ab68fd7
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__localloc__test.sh
@@ -0,0 +1,47 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_localloc_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_localloc_test.sh
+@@ -16,14 +16,14 @@ TRY_END="
+ 		leave END
+ 	}"
+ 
+-if [ "$TEST_BLOCK" == "catch" ]; then
++if [ "$TEST_BLOCK" = "catch" ]; then
+ 	TRY_MIDDLE="
+ 		leave END
+ 	} catch [mscorlib]System.NullReferenceException {"
+ 	TRY_END="
+ 		leave END
+ 	}"
+-elif [ "$TEST_BLOCK" == "filter" ]; then
++elif [ "$TEST_BLOCK" = "filter" ]; then
+ 	TRY_MIDDLE="
+ 		leave END
+ 	} filter {"
+@@ -34,7 +34,7 @@ elif [ "$TEST_BLOCK" == "filter" ]; then
+ 	} {
+ 		leave END
+ 	}"
+-elif [ "$TEST_BLOCK" == "handler" ]; then
++elif [ "$TEST_BLOCK" = "handler" ]; then
+ 	TRY_MIDDLE="
+ 		leave END
+ 	} filter {
+@@ -45,14 +45,14 @@ elif [ "$TEST_BLOCK" == "handler" ]; the
+ 	TRY_END="
+ 		leave END
+ 	}"
+-elif [ "$TEST_BLOCK" == "finally" ]; then
++elif [ "$TEST_BLOCK" = "finally" ]; then
+ 	TRY_MIDDLE="
+ 		leave END
+ 	} finally {"
+ 	TRY_END="
+ 		endfinally
+ 	}"
+-elif [ "$TEST_BLOCK" == "fault" ]; then
++elif [ "$TEST_BLOCK" = "fault" ]; then
+ 	TRY_MIDDLE="
+ 		leave END
+ 	} fault {"
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__nested__access__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__nested__access__test.sh
new file mode 100644
index 0000000..cb97039
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__nested__access__test.sh
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_nested_access_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_nested_access_test.sh
+@@ -12,7 +12,7 @@ TEST_CLASS_ACCESS=$4
+ TEST_MEMBER_ACCESS=$5
+ TEST_EXTENDS=$6
+ 
+-if [ "$TEST_EXTENDS" == "yes" ]; then
++if [ "$TEST_EXTENDS" = "yes" ]; then
+ 	TEST_EXTENDS="extends Owner"
+ 	TEST_CONSTRUCTOR="call instance void Owner::.ctor()"
+ else
+@@ -108,4 +108,4 @@ $SED -e "s/VALIDITY/${TEST_VALIDITY}/g" 
+ 	ldc.i4.0
+ 	ret
+ }
+-//EOF
+\ No newline at end of file
++//EOF
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__obj__store__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__obj__store__test.sh
new file mode 100644
index 0000000..2c9c57a
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__obj__store__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_obj_store_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_obj_store_test.sh
+@@ -18,7 +18,7 @@ echo $TEST_FILE
+ TEST_TYPE1=`echo $TEST_TYPE1 | $SED -s 's/&/\\\&/'`
+ TEST_TYPE2=`echo $TEST_TYPE2 | $SED -s 's/&/\\\&/'`
+ 
+-if [ "$TEST_CREATE_FIELD" == "no" ]; then
++if [ "$TEST_CREATE_FIELD" = "no" ]; then
+ 	CLASS_FIELDS="";
+ else
+ 	CLASS_FIELDS=".field public ${TEST_TYPE1} fld\n	.field public static ${TEST_TYPE1} sfld";
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__overlapped__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__overlapped__test.sh
new file mode 100644
index 0000000..7d0f74b
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__overlapped__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_overlapped_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_overlapped_test.sh
+@@ -12,7 +12,7 @@ TEST_POS_1=$4
+ TEST_POS_2=$5
+ TEST_TYPE_0=$6
+ 
+-if [ "$TEST_TYPE_0" == "" ] ; then
++if [ "x$TEST_TYPE_0" = "x" ] ; then
+ 	TEST_TYPE_0="int32";
+ fi
+ 
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__stobj__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__stobj__test.sh
new file mode 100644
index 0000000..8011bc7
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__stobj__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_stobj_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_stobj_test.sh
+@@ -16,7 +16,7 @@ ZZ=`echo $TEST_TYPE2 | grep "\&"`
+ T2_REF=$?
+ 
+ LOCAL_INIT="";
+-if [ "$T2_REF" == "0" ]; then
++if [ $T2_REF -eq 0 ]; then
+ 	T2_NO_REF=`echo $TEST_TYPE2 | cut -d '\' -f 1`
+ 	INIT_LOCS=", $T2_NO_REF V_2"
+ 	INIT_IL="ldloca.s 2\n\tstloc.1"
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__switch__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__switch__test.sh
new file mode 100644
index 0000000..7dd0e5a
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__switch__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_switch_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_switch_test.sh
+@@ -12,7 +12,7 @@ TEST_EXTRA=$4
+ TEST_OP=$5
+ TEST_FIN=$6
+ 
+-if [ "$TEST_FIN" == "" ]; then
++if [ "x$TEST_FIN" = "x" ]; then
+ 	TEST_FIN="finally";
+ fi
+ 
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__tail__call__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__tail__call__test.sh
new file mode 100644
index 0000000..aa0e300
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__tail__call__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_tail_call_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_tail_call_test.sh
+@@ -12,7 +12,7 @@ TEST_LOAD_OP=$4
+ TEST_TYPE=$5
+ TEST_RET_TYPE=$6
+ 
+-if [ "$TEST_RET_TYPE" == "" ]; then
++if [ "x$TEST_RET_TYPE" = "x" ]; then
+ 	TEST_RET_TYPE="void"
+ else
+ 	LD_RET_CODE="ldloc.0"
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__tests.sh b/mono-git/patches/patch-mono_tests_verifier_make__tests.sh
new file mode 100644
index 0000000..e2ecad4
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__tests.sh
@@ -0,0 +1,202 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_tests.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_tests.sh
+@@ -25,7 +25,7 @@ done
+ I=1
+ for OP in add div mul rem sub
+ do
+-  if [ "$OP" == "div" ] || [ "$OP" == "rem" ]; then
++  if [ "$OP" = "div" ] || [ "$OP" = "rem" ]; then
+   	INIT="yes";
+   else
+   	INIT="no";
+@@ -92,7 +92,7 @@ done
+ I=1
+ for OP in div mul rem
+ do
+-  if [ "$OP" == "div" ] || [ "$OP" == "div" ]; then
++  if [ "$OP" = "div" ] || [ "$OP" = "div" ]; then
+   	INIT="yes";
+   else
+   	INIT="no";
+@@ -112,7 +112,7 @@ done
+ I=1
+ for OP in div mul rem add
+ do
+-  if [ "$OP" == "div" ] || [ "$OP" == "div" ]; then
++  if [ "$OP" = "div" ] || [ "$OP" = "div" ]; then
+   	INIT="yes";
+   else
+   	INIT="no";
+@@ -503,9 +503,9 @@ function fix () {
+ 		A=$1;
+ 	fi
+ 
+-	if [ "$A" == "bool&" ]; then
++	if [ "$A" = "bool&" ]; then
+ 		A="int8&";
+-	elif [ "$A" == "char&" ]; then
++	elif [ "$A" = "char&" ]; then
+ 		A="int16&";
+ 	fi
+ 
+@@ -522,11 +522,11 @@ do
+ 		do
+ 			TA="$(fix $TYPE1)"
+ 			TB="$(fix $TYPE2)"
+-			if [ "$TA" == "$TB" ]; then
++			if [ "$TA" = "$TB" ]; then
+ 				./make_store_test.sh ref_coercion_${I} valid "$OP" "$TYPE1" "$TYPE2"
+-			elif [ "$TA" == "int32&" ] && [ "$TB" == "int&" ]; then
++			elif [ "$TA" = "int32&" ] && [ "$TB" = "int&" ]; then
+ 				./make_store_test.sh ref_coercion_${I} valid "$OP" "$TYPE1" "$TYPE2"
+-			elif [ "$TA" == "int&" ] && [ "$TB" == "int32&" ]; then
++			elif [ "$TA" = "int&" ] && [ "$TB" = "int32&" ]; then
+ 				./make_store_test.sh ref_coercion_${I} valid "$OP" "$TYPE1" "$TYPE2"
+ 			else
+ 				./make_store_test.sh ref_coercion_${I} unverifiable "$OP" "$TYPE1" "$TYPE2"
+@@ -545,7 +545,7 @@ do
+ 		do
+ 			TA="$(fix $TYPE1)"
+ 			TB="$(fix $TYPE2)"
+-			if [ "$TA" == "$TB" ]; then
++			if [ "$TA" = "$TB" ]; then
+ 				./make_store_test.sh ref_coercion_${I} valid "$OP" "$TYPE1" "$TYPE2"
+ 			else
+ 				./make_store_test.sh ref_coercion_${I} unverifiable "$OP" "$TYPE1" "$TYPE2"
+@@ -561,7 +561,7 @@ do
+ 	do
+ 		for TYPE2 in 'class ClassA&' 'class ClassB&' 'class InterfaceA&' 'class InterfaceB&' 'class ValueType&'
+ 		do
+-			if [ "$TYPE1" == "$TYPE2" ]; then
++			if [ "$TYPE1" = "$TYPE2" ]; then
+ 				./make_store_test.sh ref_coercion_${I} valid "$OP" "$TYPE1" "$TYPE2"
+ 			else
+ 				./make_store_test.sh ref_coercion_${I} unverifiable "$OP" "$TYPE1" "$TYPE2"
+@@ -791,17 +791,17 @@ do
+  	ZZ=`echo $TYPE2 | grep "*";`
+  	T2_PTR=$?
+  	
+-    if (($T1_PTR == 0  ||  $T2_PTR == 0)); then
++    if (($T1_PTR = 0  ||  $T2_PTR = 0)); then
+ 		./make_stack_merge_test.sh stack_merge_${I} unverifiable "$TYPE1" "$TYPE2"
+-    elif [ "$TYPE1" == "$TYPE2" ]; then
++    elif [ "$TYPE1" = "$TYPE2" ]; then
+ 		./make_stack_merge_test.sh stack_merge_${I} valid "$TYPE1" "$TYPE2"
+-	elif [ "$TYPE1" == "int32" ] && [ "$TYPE2" == "native int" ]; then
++	elif [ "$TYPE1" = "int32" ] && [ "$TYPE2" = "native int" ]; then
+ 		./make_stack_merge_test.sh stack_merge_${I} valid "$TYPE1" "$TYPE2"
+-	elif [ "$TYPE1" == "native int" ] && [ "$TYPE2" == "int32" ]; then
++	elif [ "$TYPE1" = "native int" ] && [ "$TYPE2" = "int32" ]; then
+ 		./make_stack_merge_test.sh stack_merge_${I} valid "$TYPE1" "$TYPE2"
+-	elif [ "$TYPE1" == "int32&" ] && [ "$TYPE2" == "native int&" ]; then
++	elif [ "$TYPE1" = "int32&" ] && [ "$TYPE2" = "native int&" ]; then
+ 		./make_stack_merge_test.sh stack_merge_${I} valid "$TYPE1" "$TYPE2"
+-	elif [ "$TYPE1" == "native int&" ] && [ "$TYPE2" == "int32&" ]; then
++	elif [ "$TYPE1" = "native int&" ] && [ "$TYPE2" = "int32&" ]; then
+ 		./make_stack_merge_test.sh stack_merge_${I} valid "$TYPE1" "$TYPE2"
+ 	else
+ 		./make_stack_merge_test.sh stack_merge_${I} unverifiable "$TYPE1" "$TYPE2"
+@@ -1335,7 +1335,7 @@ do
+ 	MAX_PARAM_RESULT="unverifiable"
+ 	POPS="pop\npop\npop\npop\npop\npop\npop\npop\n"
+ 	
+-	if [ "$OP" == "ldloc" ]; then
++	if [ "$OP" = "ldloc" ]; then
+ 		MAX_PARAM_RESULT="invalid"
+ 
+ 		LOCALS_1=$ARGS_1
+@@ -1892,7 +1892,7 @@ function create_nesting_test_same_result
+       do
+         for LOAD in yes no
+         do
+-          if ! ( [ "$NESTED" == "no" ] && [ "$LOAD" == "yes" ] ) ; then
++          if ! ( [ "$NESTED" = "no" ] && [ "$LOAD" = "yes" ] ) ; then
+             ./make_double_nesting_test.sh double_nesting_access_check_${K}_$I $2 "$OP" $3 $4 $5 "$BASE" "$NESTED" "$LOAD"
+             K=`expr $K + 1`
+           fi
+@@ -1910,9 +1910,9 @@ function create_nesting_test_only_first_
+       do
+         for LOAD in yes no
+         do
+-          if ! ( [ "$NESTED" == "no" ] && [ "$LOAD" == "yes" ] ) ; then
++          if ! ( [ "$NESTED" = "no" ] && [ "$LOAD" = "yes" ] ) ; then
+ 	       EXPECT=unverifiable
+-           if [ "$FIRST" == "$K" ]; then
++           if [ "$FIRST" = "$K" ]; then
+               EXPECT=valid
+            fi
+            ./make_double_nesting_test.sh double_nesting_access_check_${K}_$I $EXPECT "$OP" $2 $3 $4 "$BASE" "$NESTED" "$LOAD"
+@@ -2065,7 +2065,7 @@ function create_nesting_test_strips_resu
+     for NESTED in yes no
+       do
+         EXPECT=unverifiable
+-        if [ "$NESTED" == "yes" ]; then
++        if [ "$NESTED" = "yes" ]; then
+           EXPECT=valid
+         fi
+         ./make_double_nesting_test.sh double_nesting_access_check_${K}_$I $EXPECT "$OP" $2 $3 $4 "$BASE" "$NESTED" yes
+@@ -2188,9 +2188,9 @@ function fix_ldobj () {
+ 		A=$1;
+ 	fi
+ 
+-	if [ "$A" == "bool" ]; then
++	if [ "$A" = "bool" ]; then
+ 		A="int8";
+-	elif [ "$A" == "char" ]; then
++	elif [ "$A" = "char" ]; then
+ 		A="int16";
+ 	fi
+ 
+@@ -2207,7 +2207,7 @@ do
+ 	do
+ 		TYPE1="$(fix_ldobj $T1)"
+ 		TYPE2="$(fix_ldobj $T2)"
+-		if [ "$TYPE1" == "$TYPE2" ] ; then
++		if [ "$TYPE1" = "$TYPE2" ] ; then
+ 			./make_ldobj_test.sh ldobj_${I} valid "${T1}\&" "${T2}"
+ 		else
+ 			./make_ldobj_test.sh ldobj_${I} unverifiable "${T1}\&" "${T2}"
+@@ -2564,7 +2564,7 @@ I=1
+ for TYPE1 in "int8" "bool" "int16" "char" "int32" "int64" "float64" "native int" "object" "string" "class Class" "valuetype MyStruct"  "int32[]" "int32[,]" "int32*" "method int32 *(int32)"  "class Template\`1<object>"
+ do
+ 	./make_store_indirect_test.sh indirect_store_bad_addr_r4_${I} unverifiable "stind.r4" "${TYPE1}\&" "float32"
+-	if [ "$TYPE1" == "float64" ]; then
++	if [ "$TYPE1" = "float64" ]; then
+ 		./make_store_indirect_test.sh indirect_store_good_val_r4_${I} valid "stind.r4" "float32\&" "${TYPE1}"
+ 	else
+ 		./make_store_indirect_test.sh indirect_store_bad_val_r4_${I} unverifiable "stind.r4" "float32\&" "${TYPE1}"
+@@ -2577,7 +2577,7 @@ I=1
+ for TYPE1 in "int8" "bool" "int16" "char" "int32" "int64" "float32" "native int" "object" "string" "class Class" "valuetype MyStruct"  "int32[]" "int32[,]" "int32*" "method int32 *(int32)"  "class Template\`1<object>"
+ do
+ 	./make_store_indirect_test.sh indirect_store_bad_addr_r8_${I} unverifiable "stind.r8" "${TYPE1}\&" "float64"
+-	if [ "$TYPE1" == "float32" ]; then
++	if [ "$TYPE1" = "float32" ]; then
+ 		./make_store_indirect_test.sh indirect_store_good_val_r8_${I} valid "stind.r8" "float64\&" "${TYPE1}";
+ 	else
+ 		./make_store_indirect_test.sh indirect_store_bad_val_r8_${I} unverifiable "stind.r8" "float64\&" "${TYPE1}";
+@@ -3326,7 +3326,7 @@ done
+ 
+ #branching to a protected block from the outside
+ for I in {2..6}; do
+-	if [ "$I" == "4" ]; then
++	if [ "$I" = "4" ]; then
+ 		./make_branch_test.sh branch_inside_protected_block_from_outside_${I}_finally invalid 1 "br BLOCK_${I}" "finally";
+ 		./make_branch_test.sh branch_inside_protected_block_from_outside_${I}_fault invalid 1 "br BLOCK_${I}" "fault";
+ 	else
+@@ -3362,7 +3362,7 @@ done
+ 
+ #branching to a protected block from the outside
+ for I in {2..6}; do
+-	if [ "$I" == "4" ]; then
++	if [ "$I" = "4" ]; then
+ 		./make_switch_test.sh switch_inside_protected_block_from_outside_${I}_finally invalid 1 "ldloc.0" "switch (BLOCK_${I}, BLOCK_${I}_B)" "finally";
+ 		./make_switch_test.sh switch_inside_protected_block_from_outside_${I}_fault invalid 1 "ldloc.0" "switch (BLOCK_${I}, BLOCK_${I}_B)" "fault";
+ 	else
+@@ -5148,5 +5148,3 @@ done
+ 
+ ./make_generic_argument_constraints_test.sh type_mixed_3 valid "" "(IfaceA)"
+ ./make_generic_argument_constraints_test.sh type_mixed_4 valid "" "class (IfaceA)"
+-
+-
diff --git a/mono-git/patches/patch-mono_tests_verifier_make__unbox__test.sh b/mono-git/patches/patch-mono_tests_verifier_make__unbox__test.sh
new file mode 100644
index 0000000..f860e25
--- /dev/null
+++ b/mono-git/patches/patch-mono_tests_verifier_make__unbox__test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/tests/verifier/make_unbox_test.sh.orig	2016-04-16 14:26:45.000000000 +0000
++++ mono/tests/verifier/make_unbox_test.sh
+@@ -12,7 +12,7 @@ TEST_TYPE2=$4
+ TEST_POST_OP=$5
+ TEST_NO_BOX=$6
+ TEST_BOX="box ${TEST_TYPE1}";
+-if [ "${TEST_NO_BOX}" == "yes" ]; then
++if [ "${TEST_NO_BOX}" = "yes" ]; then
+ 	TEST_BOX="";
+ fi
+ 


Home | Main Index | Thread Index | Old Index