Created SILC Runtime Toolkit git repository Part II.
[runtime.git] / lib / silcutil / tests / test_silcdir.c
index e9e369418cc7011cae3eb7e4a51acac6b22ebb7c..151aad67862aaf4626da4551f54e8f94f2eac2a9 100644 (file)
@@ -1,6 +1,6 @@
 /* SilcDir tests */
 
-#include "silc.h"
+#include "silcruntime.h"
 
 int main(int argc, char **argv)
 {
@@ -49,5 +49,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;
 }