Disable LF <-> LF+CR conversion in the param-conversions test.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 28 Jan 2015 11:21:54 +0000 (13:21 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 28 Jan 2015 11:21:54 +0000 (13:21 +0200)
This silences a silly regression failure on Windows. There is a separate
test for LFConversion, so let's just rely on that.

test/src/param-conversions-test.c

index c3fc2445705859326fe6fe0bbf4f1e3020d0922b..682b31684f9e7fce9b8ca4d2808a435dc7e48225 100644 (file)
@@ -22,7 +22,11 @@ int main(int argc, char **argv)
    SQLINTEGER intparam;
    char    byteaparam[] = { 'f', 'o', 'o', '\n', '\\', 'b', 'a', 'r', '\0' };
 
-   test_connect();
+   /*
+    * let's not confuse the output with LF conversions. There's a separate
+    * regression test for that.
+    */
+   test_connect_ext("LFConversion=0");
 
    rc = SQLAllocHandle(SQL_HANDLE_STMT, conn, &hstmt);
    if (!SQL_SUCCEEDED(rc))