--- t/10-xs.t 2008/08/18 18:57:26 24 +++ t/10-xs.t 2008/08/18 19:07:04 27 @@ -5,7 +5,7 @@ use blib; -use Test::More tests => 29; +use Test::More tests => 33; use Test::Exception; use Data::Dump qw/dump/; @@ -71,4 +71,13 @@ ok( tcidbvanish( $idb ), 'tcidbvanish' ); +my $copy_path = $path . '-copy'; + +ok( tcidbcopy( $idb, $copy_path ), "tcidbcopy $copy_path" ); +ok( -e $copy_path, 'copy exists' ); + +is( tcidbpath( $idb ), $path, 'tcidbpath' ); + +is( tcidbrnum( $idb ), 0, 'tcidbrnum' ); + diag tcidberrmsg( tcidbecode( $idb ) );