From: Ben Pfaff Date: Thu, 14 Dec 2006 05:35:38 +0000 (+0000) Subject: Additionally verify that input files have equal number of lines. X-Git-Tag: v0.6.0~642 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e009e2496aec30febbac75fc43c89db9f66670c9;p=pspp-builds.git Additionally verify that input files have equal number of lines. --- diff --git a/tests/formats/num-out-compare.pl b/tests/formats/num-out-compare.pl index 6bf0cb79..f43ef18d 100644 --- a/tests/formats/num-out-compare.pl +++ b/tests/formats/num-out-compare.pl @@ -83,6 +83,16 @@ while (defined (my $a = ) && defined (my $b = )) { $errors++; } } +while () { + print "Extra lines in $ARGV[0]\n"; + $errors++; + last; +} +while () { + print "Extra lines in $ARGV[1]\n"; + $errors++; + last; +} if ($verbose) { print "$errors errors\n"; if (!$exact) {