4 if [ `which gsed 2> /dev/null` ] ; then
11 # Only 1 TEST_OP variable should be set.
18 TEST_FILE=${TEST_VALIDITY}_exception_branch_${TEST_NAME}_generated.il
20 $SED -e "s/OPCODE1/${TEST_OP1}/g" -e "s/OPCODE2/${TEST_OP2}/g" -e "s/OPCODE3/${TEST_OP3}/g" -e "s/OPCODE4/${TEST_OP4}/g" -e "s/OPCODE5/${TEST_OP5}/g" > $TEST_FILE <<//EOF
21 // ${TEST_VALIDITY} CIL which breaks the ECMA-335 rules.
22 // This CIL should fail verification by a conforming CLI verifier.
24 .assembly '${TEST_NAME}_generated'
26 .hash algorithm 0x00008004
30 .method public static int32 Main() cil managed
34 .locals init (int32 V0,
45 catch [mscorlib]System.Exception