# Change 1..1 below to 1..last_test_to_print .
# (It may become useful if the test is moved to ./t subdirectory.)
# Change 1..1 below to 1..last_test_to_print .
# (It may become useful if the test is moved to ./t subdirectory.)
# Insert your test code below (better if it prints "ok 13"
# (correspondingly "not ok 13") depending on the success of chunk 13
# of the test code):
# Insert your test code below (better if it prints "ok 13"
# (correspondingly "not ok 13") depending on the success of chunk 13
# of the test code):
$handler->launch_server("test.pl", "-1", @ARGV);
} else { ## Child starts the client
$handler->launch_server("test.pl", "-1", @ARGV);
} else { ## Child starts the client
open(CLIENT, "| yaz-client tcp:localhost:9999 > /dev/null")
or die "Couldn't fork client: $!\n";
print CLIENT "f test\n";
open(CLIENT, "| yaz-client tcp:localhost:9999 > /dev/null")
or die "Couldn't fork client: $!\n";
print CLIENT "f test\n";