Thanks, you are right, the database was not clean.
--
Miroslav Šulc
Kris Jurka napsal(a):
>
>
> On Fri, 3 Aug 2007, Miroslav Šulc wrote:
>
>> I just wanted to package jdbc driver 8.2-506 for gentoo linux distro
>> but came across this bug in the tests:
>>
>> [junit] Testcase:
>> testTables(org.postgresql.test.jdbc2.DatabaseMetaDataTest): FAILED
>> [junit] expected:<test[metadata]> but was:<test[index]>
>> [junit] junit.framework.ComparisonFailure:
>> expected:<test[metadata]> but was:<test[index]>
>> [junit] at
>> org.postgresql.test.jdbc2.DatabaseMetaDataTest.testTables(DatabaseMetaDataTest.java:78)
>>
>> [junit]
>
> Are you sure you're running on a clean database? No part of the
> driver or test suite does anything with a table called testindex.
>
> jurka@fred:~/pg/jdbc/postgresql-jdbc-8.2-506.src$ grep -r testindex *
> | wc -l
> 0
>
> Kris Jurka
--
--
Miroslav Šulc
StartNet s.r.o.
--------------------------------------------------------------
Schodová 309/10, Praha 5, 150 00, Česká republika
--------------------------------------------------------------
ICQ: 60144073
web: www.startnet.cz, www.novavystavba.cz, wordgen.startnet.cz
--------------------------------------------------------------
mobil: +420 603 711 413
--------------------------------------------------------------