[0.95rc2][Windows] Unit Tests

Sergio NNX <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.