2 BEGIN { $| = 1; ($ENV{'DoUnsafeDBTests'}) ? (print "1..4\n") : (print "1..3\n"); }
3 END {print "not ok 1\n" unless $loaded;}
15 #my $author=getAuthor(1234);
16 my $author='Farley Mowatt';
18 if ($author eq 'Farley Mowatt') {
28 #my $title=getTitle(1234);
31 if ($title eq 'Wolves') {
38 if ($ENV{'DoUnsafeDBTests'}) {
42 #my $result=addMARC($marcrecord);
54 # Revision 1.3 2002/06/01 05:46:08 tonnesen
55 # Added checking for option to run unsafe database tests. The idea is that tests
56 # that attempt to modify the library database will _not_ be run unless the
57 # environment variable DoUnsafeDBTests is set to 1. This allows people on
58 # production systems to run the tests without any fear of data corruption, while
59 # developers can run the full suite of tests on a standard sample database.
61 # Revision 1.2 2002/05/31 22:46:59 pate
62 # quick updates/corrections
64 # Revision 1.1 2002/05/31 22:17:12 tonnesen
65 # Skeleton test file for Catalogue.pm. Fails miserably so far. :)