| Index: tests/trusted_crash/osx_crash_forwarding/mach_crash_forwarding_test.c
|
| ===================================================================
|
| --- tests/trusted_crash/osx_crash_forwarding/mach_crash_forwarding_test.c (revision 10826)
|
| +++ tests/trusted_crash/osx_crash_forwarding/mach_crash_forwarding_test.c (working copy)
|
| @@ -14,8 +14,8 @@
|
| #include "native_client/src/trusted/service_runtime/load_file.h"
|
| #include "native_client/src/trusted/service_runtime/nacl_all_modules.h"
|
| #include "native_client/src/trusted/service_runtime/nacl_app.h"
|
| -#include "native_client/src/trusted/service_runtime/osx/crash_filter.h"
|
| #include "native_client/src/trusted/service_runtime/osx/mach_exception_handler.h"
|
| +#include "native_client/src/trusted/service_runtime/osx/mach_thread_trusted_state.h"
|
| #include "native_client/src/trusted/service_runtime/sel_ldr.h"
|
|
|
|
|
| @@ -138,11 +138,11 @@
|
| if (strcmp(argv[1], "trusted") == 0) {
|
| g_expect_crash = 1;
|
| } else if (strcmp(argv[1], "unforwarded_trusted") == 0) {
|
| - fprintf(stderr, "** intended_exit_status=-10\n");
|
| + fprintf(stderr, "** intended_exit_status=trusted_segfault\n");
|
| g_expect_crash = 0;
|
| } else if (strcmp(argv[1], "untrusted") == 0) {
|
| /* Expect the test to crash; untrusted crashes shouldn't be propagated. */
|
| - fprintf(stderr, "** intended_exit_status=-10\n");
|
| + fprintf(stderr, "** intended_exit_status=untrusted_segfault\n");
|
| g_expect_crash = 0;
|
| } else if (strcmp(argv[1], "untrusted_caught") == 0) {
|
| g_expect_crash = 0;
|
|
|