tcpdump mailing list archives

Re: Should the tcpdump tests be run with TZ=GMT0, or should the AFS printer print time stamps in UTC?


From: Michael Richardson <mcr () sandelman ca>
Date: Fri, 03 Aug 2018 21:44:28 -0400

Guy Harris <gharris () sonic net> wrote:
    > Currently, the tcpdump tests for AFS fail if you're not in the time
    > zone where the .out files were generated, because AFS time stamps are
    > printed as local time rather than as UTC.

That's broken

    > Should we run the tcpdump tests with TZ=GMT0 (at least on UN*X), so
    > that all time stamps are interpreted as UTC?

    > Or should the AFS printer show time stamps as UTC rather than as local
    > time in the time zone where tcpdump is being run?

I thought we used -t to avoid time stamps period.
I guess the AFS printer dumps additional times from within the tickets or
something?  If so, they should definitely be in UTC... whether we do that
with TZ=GMT0 or fix the printer, I'm not sure.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr () sandelman ca  http://www.sandelman.ca/        |   ruby on rails    [

_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: