Created SILC Runtime Toolkit git repository Part II.
[runtime.git] / lib / silcutil / tests / test_silcregex.c
index c1c6b44b8093c297f872242d423ef2bb4d7dd816..c0e970c01fa86fe31ac896ff84532ca545c5729e 100644 (file)
@@ -1,6 +1,6 @@
 /* Regex tests */
 
-#include "silc.h"
+#include "silcruntime.h"
 
 int main(int argc, char **argv)
 {
@@ -612,5 +612,5 @@ int main(int argc, char **argv)
   SILC_LOG_DEBUG(("Testing was %s", success ? "SUCCESS" : "FAILURE"));
   fprintf(stderr, "Testing was %s\n", success ? "SUCCESS" : "FAILURE");
 
-  return success;
+  return !success;
 }