diff --git a/src/run-tests.pl b/src/run-tests.pl index 2e32159..18f1ca3 100755 --- a/src/run-tests.pl +++ b/src/run-tests.pl @@ -341,7 +341,10 @@ sub showchan() print " [ $1, $2, $3,\n "; my $frst = 1; for () { - /^(\d+) (\d+) (.*)\n$/; + if (!/^(-?\d+) (-?\d+) (.*)\n$/) { + print STDERR "Malformed sync state entry '$_'.\n"; + next; + } if ($frst) { $frst = 0; } else {