--- t/10-xs.t 2008/08/18 13:17:52 13 +++ t/10-xs.t 2008/08/18 17:26:01 15 @@ -5,7 +5,7 @@ use blib; -use Test::More tests => 12; +use Test::More tests => 15; use Test::Exception; use Data::Dump qw/dump/; @@ -36,3 +36,11 @@ ok( tcidbopen( $idb, $path, IDBOWRITER | IDBOCREAT ), "tcidbopen $path" ); ok( tcidbclose( $idb ), 'tcidbclose' ); + +ok( tcidbopen( $idb, $path, IDBOWRITER | IDBOCREAT ), "tcidbopen $path again" ); + +ok( tcidbput( $idb, 1, 'foobar' ), 'tcidbput' ); + +ok( tcidbout( $idb, 1, ), 'tcidbout' ); + +diag tcidberrmsg( tcidbecode( $idb ) );