Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agzH9-0003IV-8T for pgsql-odbc@arkaria.postgresql.org; Fri, 18 Mar 2016 18:37:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1agzH8-0001X7-ET for pgsql-odbc@arkaria.postgresql.org; Fri, 18 Mar 2016 18:37:30 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1agzH7-0001Ws-VK for pgsql-odbc@postgresql.org; Fri, 18 Mar 2016 18:37:30 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1agzH5-00087P-BF for pgsql-odbc@postgresql.org; Fri, 18 Mar 2016 18:37:28 +0000 Received: from msg.df7cb.de (aftr-37-201-193-102.unity-media.net [37.201.193.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3qRYqS5Pwmz3F03 for ; Fri, 18 Mar 2016 19:37:24 +0100 (CET) Date: Fri, 18 Mar 2016 19:37:23 +0100 From: Christoph Berg To: "pgsql-odbc@postgresql.org" Subject: Fix test/expected/deprecated.out for older unixodbc releases Message-ID: <20160318183722.GA30439@msg.df7cb.de> Mail-Followup-To: Christoph Berg , "pgsql-odbc@postgresql.org" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, the unixodbc version in Debian wheezy and Ubuntu trusty/precise needs an alternative test/expected/deprecated_1.out file. The diff between the two is: --- test/expected/deprecated.out 2016-01-10 14:25:14.000000000 +0100 +++ test/expected/deprecated_1.out 2016-03-18 19:36:28.625344313 +0100 @@ -5,7 +5,7 @@ Check for SQLGetConnectOption Access type is: read-write Check for SQLError -Error check: ERROR: relation "table_not_here" does not exist; +Error check: [unixODBC]ERROR: relation "table_not_here" does not exist; Error while executing the query Check for SQLSetParam Result set: Patch attached. Christoph --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=tests-alternatives --- /dev/null +++ b/test/expected/deprecated_1.out @@ -0,0 +1,30 @@ +Check for SQLAllocEnv +Check for SQLAllocConnect +Check for SQLAllocStmt +Check for SQLSetConnectOption +Check for SQLGetConnectOption +Access type is: read-write +Check for SQLError +Error check: [unixODBC]ERROR: relation "table_not_here" does not exist; +Error while executing the query +Check for SQLSetParam +Result set: +100 +Check for SQLGetStmtOption +Cursor type is: forward +Check for SQLSetStmtOption +Cursor type is: static +Check for SQLSetScrollOptions +Cursor type is: forward +Check for SQLColAttributes +Column 1: foo +Column 2: bar +Check for SQLParamOptions +Status of execution +Check for SQLFreeStmt +Check for SQLFreeConnect +Check for SQLFreeEnv +connected +Check for SQLTransact +Result set: +disconnecting --envbJBWh7q8WU6mo Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc --envbJBWh7q8WU6mo--