5 |
|
|
6 |
use blib; |
use blib; |
7 |
|
|
8 |
use Test::More tests => 12; |
use Test::More tests => 14; |
9 |
use Test::Exception; |
use Test::Exception; |
10 |
use Data::Dump qw/dump/; |
use Data::Dump qw/dump/; |
11 |
|
|
36 |
ok( tcidbopen( $idb, $path, IDBOWRITER | IDBOCREAT ), "tcidbopen $path" ); |
ok( tcidbopen( $idb, $path, IDBOWRITER | IDBOCREAT ), "tcidbopen $path" ); |
37 |
|
|
38 |
ok( tcidbclose( $idb ), 'tcidbclose' ); |
ok( tcidbclose( $idb ), 'tcidbclose' ); |
39 |
|
|
40 |
|
ok( tcidbopen( $idb, $path, IDBOWRITER | IDBOCREAT ), "tcidbopen $path again" ); |
41 |
|
|
42 |
|
ok( tcidbput( $idb, 1, 'foobar' ), 'tcidbput' ); |
43 |
|
|
44 |
|
diag tcidberrmsg( tcidbecode( $idb ) ); |