aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-fileformats.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-03-07More licenses converted to SPDX.Dario Lombardo1-13/+1
Change-Id: Id4f987dcdacf06622d70263f4659a4400e30dc39 Reviewed-on: https://code.wireshark.org/review/26332 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-01-09Use pcapng as the name of the file format.Guy Harris1-12/+12
At one point, I remember a discussion resulting in the official name of the next-generation replacement for pcap format being changed to "pcapng", with no hyphen. Make Wireshark reflect that. Change-Id: Ie66fb13a0fe3a8682143106dab601952e9154e2a Reviewed-on: https://code.wireshark.org/review/25214 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-01-31Enable some more tests.Gerald Combs1-2/+2
The "Microsecond pcap-ng via stdin" and "Nanosecond pcap-ng via stdin" tests work here on macOS and Windows (likely due to g8a141fe), so enable them. Change-Id: I148d02f0cc23162d782457e1d8f0e7c2c0dc6932 Reviewed-on: https://code.wireshark.org/review/19877 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-08-09Use -r rather than -i for the "via stdin" tests.Guy Harris1-4/+4
TShark, at least when running in one-pass mode, now supports reading from the standard input if the file format is one that *can* be read purely sequentially; both pcap and pcapng can be read purely sequentially (unlike, for example, Microsoft Network Monitor format, where you have to read the frame table, at the end of the file, before you can read the frames, meaning you have to seek backwards, which you can't do on a pipe). Using -r 1) tests the "read from standard input" path, which we should do in versions that support it, and 2) means we can check whether, for the crashes we're seeing on 32-bit Windows 8.1, it's a problem with reading from the standard input in general, or just a problem with *capturing* from the standard input. Change-Id: I67da34de43f47dd8c63fa2f2072be41148cfe5a7 Reviewed-on: https://code.wireshark.org/review/16968 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-03Suite test: fix modelines for bash script (emac)Alexis La Goutte1-1/+1
c-basic-offset -> sh-basic-offset Change-Id: I16b19b608fbdb7f0408f7c31871fae746c8c4f50 Reviewed-on: https://code.wireshark.org/review/13683 Reviewed-by: cedric izoard <cedric.izoard@ceva-dsp.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-31Continue to remove $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash) Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd Reviewed-on: https://code.wireshark.org/review/881 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-03-01Whitespace changes: Convert spaces to tabs. Add modelines.Chris Maynard1-5/+6
svn path=/trunk/; revision=47975
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-03-30Add a decryption test suite along with an SSL decryption test. Move ourGerald Combs1-9/+20
growing collection of capture files to a subdirectory. svn path=/trunk/; revision=41852
2012-03-13Add a "fileformats" suite (copied from the I/O suite) to check fileGerald Combs1-0/+155
format conversion. So far we check nanosecond pcap, microsecond pcap-ng and nanosecond pcap-ng against standard pcap. Fix color output on OS X. svn path=/trunk/; revision=41541