--- t/10-xs.t 2008/08/18 18:53:39 22 +++ t/10-xs.t 2008/08/18 19:04:10 26 @@ -5,7 +5,7 @@ use blib; -use Test::More tests => 27; +use Test::More tests => 32; use Test::Exception; use Data::Dump qw/dump/; @@ -67,4 +67,14 @@ ok( tcidbsync( $idb ), 'tcidbsync' ); +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 ) );