--- t/10-xs.t 2008/08/18 18:55:38 23 +++ t/10-xs.t 2008/08/18 19:04:10 26 @@ -5,7 +5,7 @@ use blib; -use Test::More tests => 28; +use Test::More tests => 32; use Test::Exception; use Data::Dump qw/dump/; @@ -69,4 +69,12 @@ ok( tcidboptimize( $idb ), 'tcidboptimize' ); +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' ); diag tcidberrmsg( tcidbecode( $idb ) );