One of the (many) tests in the test suite checks if db handles the case of not having proper file permissions to perform operations on the database. This fails by design when run as root.
Created attachment 186273 [details, diff] db-fop002.patch A patch to skip the offending test. Someone more familiar with tcl could probably come up with a better test for whether the process has root permissions.
Just changed src_test to not run the testsuite as root, because I suspect other tests may fail too.