X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FRecord%2FFetch.pm;h=b63c22e99996b438bb0f64ac39b0e66f5b7446da;hb=b2463598edc6bda31c30eb2886101773bfaafe30;hp=347c05473a664604fb852ad62ddddf46ee712b92;hpb=f96537c38ed8505ba0510168cbb0aa706f776379;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Test/Record/Fetch.pm b/lib/ZOOM/IRSpy/Test/Record/Fetch.pm index 347c054..b63c22e 100644 --- a/lib/ZOOM/IRSpy/Test/Record/Fetch.pm +++ b/lib/ZOOM/IRSpy/Test/Record/Fetch.pm @@ -1,4 +1,4 @@ -# $Id: Fetch.pm,v 1.13 2006-11-02 15:02:09 mike Exp $ +# $Id: Fetch.pm,v 1.15 2006-11-14 16:18:51 mike Exp $ # See the "Main" test package for documentation @@ -30,6 +30,8 @@ sub completed_search { my $n = $task->{rs}->size(); $conn->log("irspy_test", "Fetch test search found $n records"); + return ZOOM::IRSpy::Status::TEST_SKIPPED if $n == 0; + my @syntax = ( 'canmarc', 'danmarc', @@ -87,7 +89,7 @@ sub record { } } else { $conn->log("irspy_test", "Retrieval of $syn record failed: ", - "exception unavailable"); + "(exception unavailable)"); } $conn->record()->store_result('record_fetch',