5 |
|
|
6 |
use blib; |
use blib; |
7 |
|
|
8 |
use Test::More tests => 25; |
use Test::More tests => 26; |
9 |
use Test::Exception; |
use Test::Exception; |
10 |
use Data::Dump qw/dump/; |
use Data::Dump qw/dump/; |
11 |
|
|
33 |
|
|
34 |
ok( tcidbsetfwmmax( $idb, 0 ), 'tcidbsetfwmmax' ); |
ok( tcidbsetfwmmax( $idb, 0 ), 'tcidbsetfwmmax' ); |
35 |
|
|
36 |
ok( tcidbopen( $idb, $path, IDBOWRITER | IDBOCREAT ), "tcidbopen $path" ); |
ok( tcidbopen( $idb, $path, IDBOWRITER | IDBOCREAT | IDBOTRUNC ), "tcidbopen $path" ); |
37 |
|
|
38 |
ok( tcidbclose( $idb ), 'tcidbclose' ); |
ok( tcidbclose( $idb ), 'tcidbclose' ); |
39 |
|
|
63 |
# order is not defined, so we need to sort it |
# order is not defined, so we need to sort it |
64 |
is_deeply( [ sort @ids ], [ 42, 65536 ], 'all records' ); |
is_deeply( [ sort @ids ], [ 42, 65536 ], 'all records' ); |
65 |
|
|
66 |
|
ok( tcidbsync( $idb ), 'tcidbsync' ); |
67 |
|
|
68 |
diag tcidberrmsg( tcidbecode( $idb ) ); |
diag tcidberrmsg( tcidbecode( $idb ) ); |