OSDN Git Service

add test for setUp/tearDown calling
[ccunit/ccunit.git] / tests / runFailure.c
index 3a80f2c..a18b2db 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 TSUTSUMI Kikuo.
+/* Copyright (C) 2003, 2010 TSUTSUMI Kikuo.
    This file is part of the CCUnit Library.
 
    The CCUnit Library is free software; you can redistribute it and/or
@@ -53,5 +53,5 @@ int main ()
 #if CCUNIT_WITH_DMALLOC && !CCUNIT_HAVE_ATEXIT && !CCUNIT_HAVE_ONEXIT
   dmalloc_shutdown ();
 #endif
-  return fails == runs + 2 ? -1 : 0;
+  return fails == runs + 5 ? -1 : 0;
 }