BIND 10 #143: auth test: what(): Cannot open Sqlite3 database file: testdata/test.sqlite3
BIND 10 Development
do-not-reply at isc.org
Wed Apr 14 16:57:34 UTC 2010
#143: auth test: what(): Cannot open Sqlite3 database file:
testdata/test.sqlite3
--------------------------+-------------------------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: Unclassified | Keywords:
Sensitive: 0 |
--------------------------+-------------------------------------------------
Using "make distcheck" fails for me with:
{{{
[ RUN ] StaticDataSourceTest.findRRsetNoType
[ OK ] StaticDataSourceTest.findRRsetNoType (0 ms)
[ RUN ] StaticDataSourceTest.notImplemented
[ OK ] StaticDataSourceTest.notImplemented (0 ms)
[----------] 24 tests from StaticDataSourceTest (4 ms total)
[----------] 43 tests from Sqlite3DataSourceTest
[ RUN ] Sqlite3DataSourceTest.close
terminate called after throwing an instance of 'isc::auth::Sqlite3Error'
what(): Cannot open Sqlite3 database file: testdata/test.sqlite3
[1] Abort trap (core dumped) ${dir}${tst}
FAIL: run_unittests
====================================
1 of 1 test failed
Please report to bind10-bugs at isc.org
====================================
*** Error code 1
Stop.
make: stopped in
/home/reed/work/isc/bind10/svn/trunk/bind10-devel-20100318/_build/src/lib/auth/tests
}}}
I don't understand why this is "close" but the error message is from
Sqlite3DataSrc::open.
If the problem is it can't find the file, it is in the
${srcdir}/src/lib/auth/tests/testdata/.
If it is a problem with writing to the datafile, then it needs to be
copied under the ${builddir} and edited there.
Also I didn't check yet (stopped at this problem) but I think more (new)
testdata files need to be listed at EXTRA_DIST in
/src/lib/auth/tests/Makefile.am
--
Ticket URL: <https://bind10.isc.org/ticket/143>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list