diff options
author | Guy Harris <gharris@sonic.net> | 2020-06-14 13:45:44 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-06-14 13:47:21 -0700 |
commit | ed1d87853ba9e1dd0889089488c40eb8701431ae (patch) | |
tree | 0c573e2e03918ddab68f32cc558781cfd247c752 | |
parent | 9c965fd16f876115497ca68eefd9418a68773635 (diff) | |
download | tcpdump-ed1d87853ba9e1dd0889089488c40eb8701431ae.tar.gz |
TESTrun: fix copy-and-pasteo.
(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.)
-rwxr-xr-x | tests/TESTrun | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TESTrun b/tests/TESTrun index 0ead7048..cb46a505 100755 --- a/tests/TESTrun +++ b/tests/TESTrun @@ -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); |