# make test ===> Testing for ruby24-bdb-0.6.6_5 ===> ruby24-bdb-0.6.6_5 depends on package: rubygem-test-unit>0 - found (cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.6 && /usr/bin/env RUBY_RDOC=/usr/local/bin/rdoc XDG_DATA_HOME=/usr/ports/databases/ruby-bdb/work XDG_CONFIG_HOME=/usr/ports/databases/ruby-bdb/work HOME=/usr/ports/databases/ruby-bdb/work PATH=/usr/ports/databases/ruby-bdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" make -f Makefile DESTDIR=/usr/ports/databases/ruby-bdb/work/stage test) ruby24 tests/recnum.rb VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Loaded suite tests/recnum Started ................. Finished in 1.5836405 seconds. ----------------------------------------------------------------------------------------------- 17 tests, 2398 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ----------------------------------------------------------------------------------------------- 10.73 tests/s, 1514.23 assertions/s ruby24 tests/lock.rb VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Loaded suite tests/lock Started .......... Finished in 0.855200159 seconds. ----------------------------------------------------------------------------------------------- 10 tests, 172 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ----------------------------------------------------------------------------------------------- 11.69 tests/s, 201.12 assertions/s *** Error code 1 (ignored) ruby24 tests/recno.rb VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Loaded suite tests/recno Started ........................ Finished in 0.97866735 seconds. ----------------------------------------------------------------------------------------------- 24 tests, 157 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ----------------------------------------------------------------------------------------------- 24.52 tests/s, 160.42 assertions/s *** Error code 1 (ignored) ruby24 tests/queue.rb VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Loaded suite tests/queue Started ................. Finished in 0.36652859 seconds. ----------------------------------------------------------------------------------------------- 17 tests, 130 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ----------------------------------------------------------------------------------------------- 46.38 tests/s, 354.68 assertions/s *** Error code 1 (ignored) ruby24 tests/log.rb VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Loaded suite tests/log Started ............ Finished in 0.629922441 seconds. ----------------------------------------------------------------------------------------------- 12 tests, 2315 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ----------------------------------------------------------------------------------------------- 19.05 tests/s, 3675.06 assertions/s ruby24 tests/marshal.rb VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Loaded suite tests/marshal Started ......F =============================================================================================== tests/marshal.rb:121:in `test_06_dup' 118: ind += 1 119: end 120: if BDB::VERSION_MAJOR > 2 || BDB::VERSION_MINOR >= 6 => 121: assert_equal(4, $bdb.count("0"), "") 122: assert_equal(3, $bdb.count("1"), "") 123: assert_equal(2, $bdb.count("2"), "") 124: assert_equal(1, $bdb.count("3"), "") <4> expected but was <0> Failure: test_06_dup(TestBtree) =============================================================================================== ........... Finished in 1.01765555 seconds. ----------------------------------------------------------------------------------------------- 18 tests, 2944 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 94.4444% passed ----------------------------------------------------------------------------------------------- 17.69 tests/s, 2892.92 assertions/s *** Error code 1 (ignored) ruby24 tests/btree.rb VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Loaded suite tests/btree Started ..................... Finished in 5.72208409 seconds. ----------------------------------------------------------------------------------------------- 21 tests, 15800 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ----------------------------------------------------------------------------------------------- 3.67 tests/s, 2761.23 assertions/s *** Error code 1 (ignored) ruby24 tests/hash.rb VERSION of BDB is Berkeley DB 5.3.28: (September 9, 2013) Loaded suite tests/hash Started ..................E =============================================================================================== tests/hash.rb:387:in `test_18_hash_delete' 384: 385: def test_18_hash_delete 386: assert_kind_of(BDB::Hash, => 387: $bdb = BDB::Hash.open("tmp/aa", nil, "w", 388: "set_h_hash" => proc {|a| a.hash }, 389: "set_pagesize" => 1024, 390: "set_cachesize" => [0, 32 * 1024, 0])) tests/hash.rb:387:in `open' tests/hash.rb:387:in `new' tests/hash.rb:387:in `initialize' Error: test_18_hash_delete(TestHash): RangeError: integer -3302296747707895695 too small to convert to `unsigned int' =============================================================================================== E =============================================================================================== tests/hash.rb:397:in `test_18_index' 394: def test_18_index 395: lines = $hash.keys 396: array = [] => 397: 10.times do 398: h = lines[rand(lines.size - 1)] 399: array.push h 400: assert_equal($hash.index(h.reverse), $bdb.index(h.reverse), "") tests/hash.rb:397:in `times' tests/hash.rb:400:in `block in test_18_index' tests/hash.rb:400:in `index' Error: test_18_index(TestHash): BDB::Fatal: closed DB =============================================================================================== E =============================================================================================== tests/hash.rb:409:in `test_19_convert' 406: end 407: 408: def test_19_convert => 409: h = $bdb.to_hash 410: h.each do |k, v| 411: assert_equal(v, $hash[k], "") 412: end tests/hash.rb:409:in `to_hash' Error: test_19_convert(TestHash): BDB::Fatal: closed DB =============================================================================================== . Finished in 2.41330402 seconds. ----------------------------------------------------------------------------------------------- 22 tests, 7655 assertions, 0 failures, 3 errors, 0 pendings, 0 omissions, 0 notifications 86.3636% passed ----------------------------------------------------------------------------------------------- 9.12 tests/s, 3172.00 assertions/s *** Error code 1 (ignored)