--- t/10-xs.t 2008/08/18 13:17:52 13 +++ t/10-xs.t 2008/08/18 15:35:18 14 @@ -5,7 +5,7 @@ use blib; -use Test::More tests => 12; +use Test::More tests => 14; use Test::Exception; use Data::Dump qw/dump/; @@ -36,3 +36,9 @@ 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' ); + +diag tcidberrmsg( tcidbecode( $idb ) );