List:Commits« Previous MessageNext Message »
From:jwinstead Date:June 5 2007 8:15pm
Subject:Connector/ODBC 3.51 commit: r483 - trunk/test
View as plain text  
Modified:
   trunk/test/my_info.c
Log:
Actually test results in t_msdev_bug, and change order of first test (trying
to find a problem on some odd platforms)



Modified: trunk/test/my_info.c
===================================================================
--- trunk/test/my_info.c	2007-06-05 01:29:02 UTC (rev 482)
+++ trunk/test/my_info.c	2007-06-05 18:15:58 UTC (rev 483)
@@ -105,11 +105,12 @@
   SQLINTEGER len;
 
   ok_con(hdbc, SQLGetConnectOption(hdbc, SQL_CURRENT_QUALIFIER, catalog));
-  printMessage("SQL_CURRENT_QUALIFIER: %s\n", catalog);
+  is_str(catalog, "test", 4);
 
   ok_con(hdbc, SQLGetConnectAttr(hdbc, SQL_ATTR_CURRENT_CATALOG, catalog,
                                  sizeof(catalog), &len));
-  printMessage("SQL_ATTR_CURRENT_CATALOG: %s (%d)\n", catalog, len);
+  is_num(len, 4);
+  is_str(catalog, "test", 4);
 
   return OK;
 }
@@ -128,8 +129,8 @@
 
 
 BEGIN_TESTS
+  ADD_TEST(t_getinfo)
   ADD_TEST(t_gettypeinfo)
-  ADD_TEST(t_getinfo)
   ADD_TEST(t_stmt_attr_status)
   ADD_TEST(t_msdev_bug)
   ADD_TEST(t_bug27591)

Thread
Connector/ODBC 3.51 commit: r483 - trunk/testjwinstead5 Jun