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

Sergio NNX sfhacker at hotmail.com
Thu May 14 04:52:21 EDT 2015


> 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)
 		 	   		  


More information about the FreeTDS mailing list