fix on schemas error portability glob() on Windows Daniel

* runsuite.c: fix on schemas error
* runtest.c: portability glob() on Windows
Daniel
diff --git a/runsuite.c b/runsuite.c
index da63e26..c7dab7a 100644
--- a/runsuite.c
+++ b/runsuite.c
@@ -925,7 +925,7 @@
 	     ctxt);
 	schemas = xmlSchemaParse(ctxt);
 	xmlSchemaFreeParserCtxt(ctxt);
-	if (schemas == NULL) {
+	if (schemas != NULL) {
 	    test_log("Failed to detect error in schemas %s\n",
 			path);
 	    nb_errors++;