summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authormattn <[email protected]>2013-04-05 18:04:22 +0900
committermattn <[email protected]>2013-04-05 18:04:22 +0900
commit1541a61f5db1ce6e278b5f9c910a595c0c7dbe58 (patch)
treeee2b2b698f4efb5235aa95da018f3a276f77978b /test
parent97aee949c5931541b0d89963df6da1bcea4023c3 (diff)
downloadmruby-1541a61f5db1ce6e278b5f9c910a595c0c7dbe58.tar.gz
mruby-1541a61f5db1ce6e278b5f9c910a595c0c7dbe58.zip
Fix exit
Diffstat (limited to 'test')
-rw-r--r--test/init_mrbtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/init_mrbtest.c b/test/init_mrbtest.c
index 5c80c6e91..3b8f9129e 100644
--- a/test/init_mrbtest.c
+++ b/test/init_mrbtest.c
@@ -18,7 +18,7 @@ mrb_init_mrbtest(mrb_state *mrb)
#endif
if (mrb->exc) {
mrb_p(mrb, mrb_obj_value(mrb->exc));
- exit(0);
+ exit(EXIT_FAILURE);
}
}