# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 12-query.t'
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 12-query.t'
ok(defined $q, "create empty query");
my($ccl_errcode, $ccl_errstr, $ccl_errpos) = (0, "", 0);
ok(defined $q, "create empty query");
my($ccl_errcode, $ccl_errstr, $ccl_errpos) = (0, "", 0);
$res = Net::Z3950::ZOOM::query_ccl2rpn($q,
'ti=utah and',
"ti u=4 s=pw\nab u=62 s=pw",
$res = Net::Z3950::ZOOM::query_ccl2rpn($q,
'ti=utah and',
"ti u=4 s=pw\nab u=62 s=pw",
# Do a successful client-compiled CCL search
$q = Net::Z3950::ZOOM::query_create();
ok(defined $q, "create empty query");
# Do a successful client-compiled CCL search
$q = Net::Z3950::ZOOM::query_create();
ok(defined $q, "create empty query");
$res = Net::Z3950::ZOOM::query_ccl2rpn($q,
'ti=utah and ab=epicenter',
"ti u=4 s=pw\nab u=62 s=pw",
$res = Net::Z3950::ZOOM::query_ccl2rpn($q,
'ti=utah and ab=epicenter',
"ti u=4 s=pw\nab u=62 s=pw",