-# $Id: Fetch.pm,v 1.2 2006-10-25 08:40:53 sondberg Exp $
+# $Id: Fetch.pm,v 1.4 2006-10-25 10:19:33 mike Exp $
# See the "Main" test package for documentation
sub start {
my $class = shift();
my($conn) = @_;
- my @syntax = ( 'canmarc',
+ my @syntax = (
+ 'canmarc',
'danmarc',
'grs-1',
'ibermarc',
sub record {
my($conn, $task, $test_args, $event) = @_;
my $syn = $test_args->{'syntax'};
+ my $rs = $task->{rs};
+
+ if (1) {
+ print STDERR $rs->record(0)->render();
+ }
$conn->log("irspy_test", "Successfully retrieved a $syn record");
$conn->record()->store_result('record_fetch',