tests: output raw packet data when decoding pcap files

Type: test

Change-Id: I4e945b2bd067466afdaa58a6f07a1ab2c567bc2b
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
This commit is contained in:
Dave Wallace
2024-07-16 12:36:38 -04:00
committed by Damjan Marion
parent 04da324260
commit 0da0883453

View File

@@ -187,7 +187,7 @@ class VppPGInterface(VppInterface):
self.test.logger.debug(
f"Generating testcase pg streams decode file: {pg_decode}"
)
ts_opts = "-Vr"
ts_opts = "-Vxr"
for p in sorted(Path(pcap_dir).glob(f"{filename_prefix}*.pcap")):
self.test.logger.debug(f"Decoding {p}")
with open(f"{pg_decode}", "a", buffering=1) as f: