]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
disable test in windows.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 8 Apr 2011 14:54:14 +0000 (16:54 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 8 Apr 2011 15:37:14 +0000 (17:37 +0200)
tests/chainverify.c

index a7d5daf9f5204263d2f15afa37adc0321139ee4b..8cd5244cbb6f9eb718b51a38cffc31769ebfed38 100644 (file)
@@ -761,6 +761,13 @@ doit (void)
   size_t i;
   int ret;
 
+  /* The overloading of time() seems to work in linux (ELF?)
+   * systems only. Disable it on windows.
+   */
+#ifdef _WIN32
+  exit(77);
+#endif
+
   ret = gnutls_global_init ();
   if (ret != 0)
     {