List:Commits« Previous MessageNext Message »
From:jbalint Date:September 24 2007 4:25pm
Subject:Connector/ODBC 3.51 commit: r798 - branches/guffert/test
View as plain text  
Modified:
   branches/guffert/test/odbctap.h
Log:
fix bad compare in test header

Modified: branches/guffert/test/odbctap.h
===================================================================
--- branches/guffert/test/odbctap.h	2007-09-24 10:11:10 UTC (rev 797)
+++ branches/guffert/test/odbctap.h	2007-09-24 14:25:40 UTC (rev 798)
@@ -221,7 +221,7 @@
            (tests[i].expect == FAIL ? "# TODO" : \
             rc == SKIP ? "# SKIP " : ""), \
            SKIP_REASON ? SKIP_REASON : ""); \
-    if (rc == FAIL != tests[i].expect) \
+    if ((rc == FAIL) && (FAIL != tests[i].expect)) \
       failcnt++; \
     SKIP_REASON= NULL; /* Reset SKIP_REASON */ \
     /* Re-allocate statement to reset all its properties. */ \

Thread
Connector/ODBC 3.51 commit: r798 - branches/guffert/testjbalint24 Sep