]> The Tcpdump Group git mirrors - tcpdump/commitdiff
TESTrun: fix copy-and-pasteo.
authorGuy Harris <[email protected]>
Sun, 14 Jun 2020 20:45:44 +0000 (13:45 -0700)
committerGuy Harris <[email protected]>
Sun, 14 Jun 2020 20:47:21 +0000 (13:47 -0700)
(Matters only on Windows, and we're still not ready for the check target
to be used on Windows yet; for one thing, it requires that tcpdump be
built with the latest shiniest libpcap, to handle some capture files
that use post-1.9 LINKTYPE_ values, and we aren't yet set up to do
that.)

tests/TESTrun

index 0ead7048ee6d8d1c23dc48725e7ae5e5f2addcb5..cb46a50552823735ed8e1f31509e31c14e1fdfd3 100755 (executable)
@@ -216,7 +216,7 @@ sub runtest {
         if ($^O eq 'MSWin32') {
             my $winoutput = File::Spec->canonpath($output);
             $r = system "fc /lb1000 /t /1 $winoutput tests\\NEW\\$outputbase >tests\\DIFF\\$outputbase.diff";
-            $status = $r >> 8;
+            $diffstat = $r >> 8;
         } else {
             $r = system "diff $output tests/NEW/$outputbase >tests/DIFF/$outputbase.diff";
             $diffstat = WEXITSTATUS($r);