]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tests/TESTonce
Use UTC/GMT time when building/checking tests files
[tcpdump] / tests / TESTonce
index 340f3578c84f1fa24b500ae2c4e042d68dc7770e..8f1dbb1cd62543073324924b403c1ece1292895d 100755 (executable)
@@ -15,13 +15,13 @@ $options=$ARGV[3];
 my $r;
 
 if ($^O eq 'MSWin32') {
-    $r = system "..\\windump -n -t -r $input $options 2>NUL | sed 's/\\r//' | tee NEW/$output | diff $output - >DIFF/$output.diff";
+    $r = system "..\\windump -# -n -r $input $options 2>NUL | sed 's/\\r//' | tee NEW/$output | diff $output - >DIFF/$output.diff";
     # need to do same as below for Cygwin.
 }
 else {
     # we used to do this as a nice pipeline, but the problem is that $r fails to
     # to be set properly if the tcpdump core dumps.
-    $r = system "../tcpdump 2>/dev/null -n -t -r $input $options >NEW/$output";
+    $r = system "../tcpdump 2>/dev/null -# -n -r $input $options >NEW/$output";
     if($r != 0) {
         # this means tcpdump failed.
         open(OUTPUT, ">>"."NEW/$output") || die "fail to open $output\n";