Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(587)

Unified Diff: runtime/bin/process_test.cc

Issue 10544207: Revert "Test infrastructure: Change the intentionally crashing process_test.cc, to try and avoid ti… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move before while loop. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_test.cc
diff --git a/runtime/bin/process_test.cc b/runtime/bin/process_test.cc
index efb88be6528448c8f4547ee0b4d8f6e8377b9d30..3f4cd8fcfd605e345ff8dda833f5a54d150aba0b 100644
--- a/runtime/bin/process_test.cc
+++ b/runtime/bin/process_test.cc
@@ -32,7 +32,8 @@ int main(int argc, char* argv[]) {
int crash = atoi(argv[4]);
if (crash == 1) {
- abort();
+ int* segfault = NULL;
+ *segfault = 1;
}
const int kLineSize = 128;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698