Skip to Content.
Sympa Menu

freetds - Re: [freetds] dblib unit test pass, masking errors

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dblib unit test pass, masking errors
  • Date: Fri, 12 Dec 2003 22:04:28 -0000

Il ven, 2003-12-12 alle 21:26, Lowden, James K ha scritto:
> I had cause to take a close look at the db-lib unit tests. As you can see
> below, they claim to all pass, but I think there are several undetected
> errors.
>
> Environment:
>
> Tru64 on Alpha processor
> gcc 3.3
> TDS 7.0
> Snapshot as of 9 December.
>
> We'll obviously have to fix these up before the release. :-(
>
> --jkl
>
> $ egrep 'DB-LIBRARY|pass|PASS' nohup.out
> PASS: t0001
> PASS: t0002
> PASS: t0003
> DB-LIBRARY error (severity 7, dberr 20019, oserr -1, dberrstr Attempt to
> initiate a new SQL Server operation with results pending., oserrstr
> OpenClient):
> PASS: t0004
> DB-LIBRARY error (severity 7, dberr 20019, oserr -1, dberrstr Attempt to
> initiate a new SQL Server operation with results pending., oserrstr
> OpenClient):
> PASS: t0005
> PASS: t0006
> DB-LIBRARY error (severity 7, dberr 20019, oserr -1, dberrstr Attempt to
> initiate a new SQL Server operation with results pending., oserrstr
> OpenClient):
> PASS: t0007
> PASS: t0008
> dblib passed for ../../../../src/dblib/unittests/t0009.c
> PASS: t0009
> dblib passed for ../../../../src/dblib/unittests/t0010.c
> PASS: t0010
> PASS: t0011
> About to open, PASSWORD: , USER: , SERVER:
> PASS: t0012
> About to open, PASSWORD: , USER: , SERVER:
> Read blob data row 1 --> PASSED 59812 byte comparison
> PASS: t0013
> Read blob data row 0 --> PASSED 59812 byte comparison
> Read blob data row 1 --> PASSED 59812 byte comparison
> Read blob data row 2 --> PASSED 59812 byte comparison
> PASS: t0014
> PASS: t0015
> PASS: t0016
> DB-LIBRARY error (severity 3, dberr 20070, oserr -1, dberrstr I/O error
> while reading bcp data-file., oserrstr OpenClient):
> About to open, PASSWORD: , USER: , SERVER:
> PASS: t0017
> PASS: t0018
> DB-LIBRARY error (severity 4, dberr 20049, oserr -1, dberrstr
> Data-conversion resulted in overflow., oserrstr OpenClient):
> DB-LIBRARY error (severity 4, dberr 20049, oserr -1, dberrstr
> Data-conversion resulted in overflow., oserrstr OpenClient):
> All tests passed!
> PASS: t0019
> PASS: t0020
> PASS: t0021
> PASS: t0022
> PASS: t0023
> PASS: rpc
> PASS: dbmorecmds
> All 25 tests passed
>

??? Some unittests raise an error just cause they test some function
raise an error... or not ?

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page