Fix test due to mempool internal change.

SVN revision: 36223
This commit is contained in:
Cedric BAIL 2008-09-24 17:17:22 +00:00
parent 550ebc9ab1
commit eec2db6edb
1 changed files with 5 additions and 2 deletions

View File

@ -19,10 +19,13 @@
#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