mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:58:13 +00:00
Revert "Test infrastructure: Change the intentionally crashing process_test.cc, to try and avoid timeout of this process."
This reverts commit 51bfb317ef687e8457ce6bccb21f022d4b21ea74. BUG= TEST=standalone/io/process_segfault_test Review URL: https://chromiumcodereview.appspot.com//10544207 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8797 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
1d39bb9c4d
commit
b8e4ca3a3e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue