Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Review Request: ruby-bdb - Berkeley DB is an embedded database system that supports keyed access to data
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=209965
------- Additional Comments From miker5slow@grandecom.net 2006-10-18 23:45 EST -------
Bad:
- When I try to run a test, for example 'ruby btree.rb', I will get the
following error messages:
- Error:
test_21_convert(TestBtree): NoMethodError: undefined method `to_hash' for nil:NilClass btree.rb:454:in `test_21_convert'
- Error:
test_23_sh(TestBtree): NoMethodError: undefined method `close' for nil:NilClass btree.rb:485:in `test_23_sh'
23 tests, 12 assertions, 0 failures, 22 errors
If you look at the src of btree.rb you will also see it needs to be run from above the tests dir, its pulling in some needed stuff from src/ so if you run:
errr@joker.michaelrice.org | /home/errr/src/bdb-0.5.9 | 22:43 | ruby tests/btree.rb
VERSION of BDB is Sleepycat Software: Berkeley DB 4.3.29: (September 7, 2006) Loaded suite tests/btree Started ....................... Finished in 2.146135 seconds.
23 tests, 15801 assertions, 0 failures, 0 errors
But to do from tests:
errr@joker.michaelrice.org | /home/errr/src/bdb-0.5.9/tests | 22:44 | ruby btree.rb
VERSION of BDB is Sleepycat Software: Berkeley DB 4.3.29: (September 7, 2006) Loaded suite btree Started ..................EEE.. Finished in 0.462519 seconds.
1) Error: test_18_btree_delete(TestBtree): Errno::ENOENT: No such file or directory - examples/wordtest btree.rb:401:in `foreach' btree.rb:401:in `intern_btree_delete' btree.rb:424:in `test_18_btree_delete'
2) Error: test_19_btree_delete(TestBtree): Errno::ENOENT: No such file or directory - examples/wordtest btree.rb:401:in `foreach' btree.rb:401:in `intern_btree_delete' btree.rb:436:in `test_19_btree_delete'
3) Error: test_20_index(TestBtree): NoMethodError: undefined method `reverse' for nil:NilClass btree.rb:445:in `test_20_index' btree.rb:442:in `test_20_index'
23 tests, 4013 assertions, 0 failures, 3 errors