diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-21 08:29:25 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-22 00:12:43 +0000 |
commit | 2e5d47e4c02757c027461149b3e1568d713252b1 (patch) | |
tree | 3716730e94f8f9e5287650458d2c2146da2be140 /t | |
parent | 8e52e5fdea416d6fda0b8d301144af0c043a5a76 (diff) | |
download | public-inbox-2e5d47e4c02757c027461149b3e1568d713252b1.tar.gz |
This will be used to keep track of Message-ID <-> NNTP Article numbers to prevent article number reuse when reindexing.
Diffstat (limited to 't')
-rw-r--r-- | t/msgmap.t | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -65,4 +65,8 @@ my $orig = $d->mid_insert('spam@1'); $d->mid_delete('spam@1'); is($d->mid_insert('spam@2'), 1 + $orig, "last number not recycled"); +my $tmp = $d->tmp_clone; +is_deeply([$d->minmax], [$tmp->minmax], 'Cloned temporary DB matches'); +ok($tmp->mid_delete('spam@2'), 'temporary DB is writable'); + done_testing(); |