Fix test due to mempool internal change.
authorcedric <cedric>
Wed, 24 Sep 2008 17:17:22 +0000 (17:17 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 24 Sep 2008 17:17:22 +0000 (17:17 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36223 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/tests/eina_test_main.c

index b379c55..e245511 100644 (file)
 #include "Eina.h"
 #include "eina_suite.h"
 
+#include <stdio.h>
 START_TEST(eina_simple)
 {
-   fail_if(!eina_init());
-   fail_if(eina_shutdown() != 0);
+   /* Eina_error as already been initialized by eina_hash
+      that was called by eina_mempool_init that's why we don't have 0 here */
+   fail_if(eina_init() != 2);
+   fail_if(eina_shutdown() != 1);
 }
 END_TEST