Merge pull request #3387 from xmcclure/test-suite-bump
[mono.git] / mono / tests / delegate2.cs
index e351617a63c383f48b6d2b7ac1809a7c37e1c310..52b5f61d9f1690d9d22b27392ee0c8d34754afa0 100644 (file)
@@ -36,11 +36,14 @@ class Test {
                        Console.WriteLine ("received exception ... OK");
                }
 
+               while (cb_state == 0)
+                       Thread.Sleep (0);
+               
                if (cb_state != 1)
                        return 1;
                
                if (res != 1)
-                       return 1;
+                       return 2;
 
                return 0;
        }