Changeset 971 for trunk/t/DNSTest.pm
- Timestamp:
- 01/09/26 11:48:17 (3 weeks ago)
- File:
-
- 1 edited
-
trunk/t/DNSTest.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/t/DNSTest.pm
r961 r971 66 66 67 67 my ($rcount) = $dbh->selectrow_array("SELECT count(*) FROM records"); 68 BAIL_OUT("# DB looks like it may not be a test DB, found $rcount > 30 records!\n") 69 if $rcount > 50; 70 cmp_ok( $rcount, '<=', 50, "record ($rcount): looks like a test DB" ); 68 my $maxrecs = 60; 69 BAIL_OUT("# DB looks like it may not be a test DB, found $rcount > $maxrecs records!\n") 70 if $rcount > $maxrecs; 71 cmp_ok( $rcount, '<=', $maxrecs, "record ($rcount): looks like a test DB" ); 71 72 72 73 # drop all tables etc
Note:
See TracChangeset
for help on using the changeset viewer.
![[ DNS Administrator ]](/fx/dnsadmin-logo.png)