diff options
Diffstat (limited to 'mono/tests/merp-crash-test.cs')
-rw-r--r-- | mono/tests/merp-crash-test.cs | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/mono/tests/merp-crash-test.cs b/mono/tests/merp-crash-test.cs index 93e1beb142e..a33010e59cf 100644 --- a/mono/tests/merp-crash-test.cs +++ b/mono/tests/merp-crash-test.cs @@ -59,6 +59,12 @@ class C Crashers.Add(new Crasher ("MerpCrashSnprintf", MerpCrashSnprintf)); Crashers.Add(new Crasher ("MerpCrashDomainUnload", MerpCrashDomainUnload)); Crashers.Add(new Crasher ("MerpCrashUnbalancedGCSafe", MerpCrashUnbalancedGCSafe)); + Crashers.Add(new Crasher ("MerpCrashSignalTerm", MerpCrashSignalTerm)); + Crashers.Add(new Crasher ("MerpCrashSignalTerm", MerpCrashSignalAbrt)); + Crashers.Add(new Crasher ("MerpCrashSignalKill", MerpCrashSignalFpe)); + Crashers.Add(new Crasher ("MerpCrashSignalKill", MerpCrashSignalBus)); + Crashers.Add(new Crasher ("MerpCrashSignalSegv", MerpCrashSignalSegv)); + Crashers.Add(new Crasher ("MerpCrashSignalIll", MerpCrashSignalIll)); } public static void @@ -149,6 +155,60 @@ class C [DllImport("libtest")] public static extern void mono_test_MerpCrashUnhandledExceptionHook (); + [DllImport("libtest")] + public static extern void mono_test_MerpCrashSignalTerm (); + + public static void + MerpCrashSignalTerm () + { + mono_test_MerpCrashSignalTerm (); + } + + [DllImport("libtest")] + public static extern void mono_test_MerpCrashSignalAbrt (); + + public static void + MerpCrashSignalAbrt () + { + mono_test_MerpCrashSignalAbrt (); + } + + [DllImport("libtest")] + public static extern void mono_test_MerpCrashSignalFpe (); + + public static void + MerpCrashSignalFpe () + { + mono_test_MerpCrashSignalFpe (); + } + + [DllImport("libtest")] + public static extern void mono_test_MerpCrashSignalBus (); + + public static void + MerpCrashSignalBus () + { + mono_test_MerpCrashSignalBus (); + } + + [DllImport("libtest")] + public static extern void mono_test_MerpCrashSignalSegv (); + + public static void + MerpCrashSignalSegv () + { + mono_test_MerpCrashSignalSegv (); + } + + [DllImport("libtest")] + public static extern void mono_test_MerpCrashSignalIll (); + + public static void + MerpCrashSignalIll () + { + mono_test_MerpCrashSignalIll (); + } + public static void MerpCrashUnhandledExceptionHook () { |