Commit Graph

4 Commits

Author SHA1 Message Date
Francois-Xavier Le Bail
9939a0ff90 tests: Use -tttt option for most tests
This change adds:
year-month-day to the hours:minutes:secondes.{microseconds|nanoseconds}.

It allows to catch more issues with timestamps processing.

For some test using their own display time options, use 'SPECIAL_t' in
options.
2024-03-11 22:12:38 -07:00
Denis Ovsienko
34ec5e5f3f DHCP: Make option printing format more consistent.
rfc1048_print() used to print DHCP options in a few different formats
depending on the context (see GH issue #866):

* at the top of an RFC 1048 block:
  * known options: [string] name and [decimal] tag
  * unknown options: tag twice
* inside a Parameter Request (55) block:
  * known options: name
  * unknown options: tag

Change it to use the "Name (tag)" format (as in TCP, BGP, etc) in all
contexts. Update output for 8 tests.
2020-08-07 19:04:31 +01:00
Francois-Xavier Le Bail
018b2b8c96 Use UTC/GMT time when building/checking tests files
This will avoid some differences when checking in different time zones.

We now run the tests without the '-t' option. This will allow to get
problems/changes in time printing functions.

Update the output of the tests accordingly.

Moreover:
Add the '-#' option to better identify a packet when there is a difference
in output.
2018-08-09 09:23:07 +02:00
Francois-Xavier Le Bail
6cdbddabf8 DHCP: decoder for the TFTP Server Address option (RFC5859) 2014-12-01 16:56:30 +01:00