Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'TDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: [freetds] dblib unit test pass, masking errors
  • Date: Fri, 12 Dec 2003 15:26:36 -0500

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

-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page