- Fixed testcase evaluation condition
authorBart Polot <bart@net.in.tum.de>
Fri, 25 Nov 2011 10:52:19 +0000 (10:52 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 25 Nov 2011 10:52:19 +0000 (10:52 +0000)
src/mesh/test_mesh_small.c

index 572ec8fc37069a3b1d066a99795bd0c86fc1b234..7a7bd0c426df5773f50320436b9b7e615dae43c0 100644 (file)
@@ -900,7 +900,7 @@ main (int argc, char *argv[])
 #if REMOVE_DIR
   GNUNET_DISK_directory_remove ("/tmp/test_mesh_small");
 #endif
-  if (ok_goal < ok)
+  if (ok_goal > ok)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 "***************** test: FAILED! (%d/%d)\n", ok, ok_goal);