diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-08-09 20:34:56 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-08-09 20:56:54 +0200 |
commit | e76125515c742d80af1819f023d8d20ccf83cb87 (patch) | |
tree | dcd251daa3409e51ed0ea7ba95296a029f9677b0 /CONTRIBUTING | |
parent | cc190c1b5846bd221cec2e584759637ef7a27ffc (diff) | |
download | tcpdump-e76125515c742d80af1819f023d8d20ccf83cb87.tar.gz |
Update CONTRIBUTING and TESTLIST according to a recent change
It's a follow-up to 018b2b8c96.
Thanks to Gisle Vanem to spot one of the inconsistencies.
Moreover:
Remove a useless '-#' option in TESTLIST.
Diffstat (limited to 'CONTRIBUTING')
-rw-r--r-- | CONTRIBUTING | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING b/CONTRIBUTING index 0093fc9a..0a5bbd4a 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -73,7 +73,7 @@ How to add new code and to update existing code 6) Add/update sample.pcap files We use tests directory to do regression tests on the dissection of captured packets. Those captured packets were saved running tcpdump with option "-w - sample.pcap". Additional options like "-n" and "-t" are used to create + sample.pcap". Additional options like "-#" and "-n" are used to create relevant and reproducible output. The actual test compares the current text output with the expected result (sample.out) saved from a previous version. @@ -85,7 +85,7 @@ How to add new code and to update existing code test-name sample.pcap sample.out tcpdump-options The sample.out file can be build by: - (cd tests && ../tcpdump -n -t -r sample.pcap tcpdump-options > sample.out) + (cd tests && ../tcpdump -# -n -r sample.pcap tcpdump-options > sample.out) Or, for convenience, use "./update-test.sh test-name" |