Browse Source

sync state reader:

- grok negative uids
- more robust
wip/maildir-uid-dupes-test
Oswald Buddenhagen 19 years ago
parent
commit
924e1a7f04
  1. 5
      src/run-tests.pl

5
src/run-tests.pl

@ -341,7 +341,10 @@ sub showchan()
print " [ $1, $2, $3,\n "; print " [ $1, $2, $3,\n ";
my $frst = 1; my $frst = 1;
for (<FILE>) { for (<FILE>) {
/^(\d+) (\d+) (.*)\n$/; if (!/^(-?\d+) (-?\d+) (.*)\n$/) {
print STDERR "Malformed sync state entry '$_'.\n";
next;
}
if ($frst) { if ($frst) {
$frst = 0; $frst = 0;
} else { } else {

Loading…
Cancel
Save