Changeset 990 for branches/cname-collision/t/cname.t
- Timestamp:
- 01/15/26 17:51:54 (5 days ago)
- File:
-
- 1 edited
-
branches/cname-collision/t/cname.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cname-collision/t/cname.t
r989 r990 214 214 } 215 215 }; 216 # this test arguably overkill, subsumed by earlier test for substantially the same thing216 # this test arguably overkill, subsumed by earlier test for nonexpiring collision 217 217 subtest ' - collision with soon to expire record' => sub { 218 218 $newname = 'expired2.expiry1.test'; … … 288 288 ok( $rcount == 2, " ... [$rcount] correct number of records for $newname" ); 289 289 my ($newstamp) = $dbh->selectrow_array("SELECT extract(epoch from stamp) FROM records WHERE domain_id = 5 AND host = '$newname' ". 290 "AND stampactive = 't' AND expires = 't'");290 "AND stampactive = 't' AND expires = 't'"); 291 291 my ($oldstamp) = $dbh->selectrow_array("SELECT extract(epoch from stamp) FROM records WHERE domain_id = 5 AND host = '$newname' ". 292 "AND stampactive = 't' AND expires = 'f'");292 "AND stampactive = 't' AND expires = 'f'"); 293 293 ok( $newstamp <= $oldstamp, " ... added record expires before existing active-after record goes active" ); 294 294 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
![[ DNS Administrator ]](/fx/dnsadmin-logo.png)