Skip to Content.
Sympa Menu

freetds - [freetds] [0.95rc2][Windows] Unit Tests

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sergio NNX <sfhacker AT hotmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] [0.95rc2][Windows] Unit Tests
  • Date: Thu, 14 May 2015 18:52:21 +1000

> Hi,
> did you test new version of the file?
>
> Frediano

Ciao,

Sorry about the delay, Frediano.
This test should check for IPv6 and I would add 'WSACleanup' function
somewhere.

Thanks for looking into these tests. The 'genparams' test is fine now (and
today)!

First run (IPv4)
---------

$ freeclose.exe
odbctest
--------

connection parameters:
server: 'MSSQLTestServer'
user: 'guest'
password: '????'
database: 'tempdb'
use tempdb
Fake server bound at port 12340
odbctest
--------

connection parameters:
server: 'MSSQLTestServer'
user: 'guest'
password: '????'
database: 'tempdb'
connect: An address incompatible with the requested protocol was used.


Second Run (IPv6)
----------

$ freeclose.exe
odbctest
--------

connection parameters:
server: 'MSSQLTestServer'
user: 'guest'
password: '????'
database: 'tempdb'
use tempdb
Fake server bound at port 12340
odbctest
--------

connection parameters:
server: 'MSSQLTestServer'
user: 'guest'
password: '????'
database: 'tempdb'
use tempdb
CREATE TABLE #test(i int, c varchar(40))
0 round trips 0 inserts
40 round trips 1 inserts
42 round trips 1 inserts
PASS freeclose.exe (exit status: 0)




Archive powered by MHonArc 2.6.24.

Top of Page