benchtests: skip over blank lines in benchmark input files

This commit is contained in:
Siddhesh Poyarekar 2013-12-04 18:20:32 +05:30
parent fbf964ae8b
commit ecaf142d3d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
* scripts/bench.pl: Skip over blank lines.
2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
[BZ #926]

View File

@ -83,8 +83,8 @@ LINE:while (<INPUTS>) {
}
}
# Skip over comments.
if (/^#/) {
# Skip over comments and blank lines.
if (/^#/ || /^$/) {
next LINE;
}
push (@curvals, $_);