diff options
author | Chuck Craft <bubbasnmp@gmail.com> | 2022-06-14 21:05:10 -0500 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2022-06-16 02:13:50 +0000 |
commit | d008708552716719b363d0b31010890709fc5048 (patch) | |
tree | b331108a07c9c1208614c7de09cdc196d17c7e3c /test | |
parent | 572e6b0c1013f5d48bfa0a3ffd0c4cbd691a6782 (diff) |
editcap/mergecap: swap 'v'|'V' options to match other CLI utilities
Closes #18134
Diffstat (limited to 'test')
-rw-r--r-- | test/suite_mergecap.py | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/test/suite_mergecap.py b/test/suite_mergecap.py index f6f9265844..f3b99e648e 100644 --- a/test/suite_mergecap.py +++ b/test/suite_mergecap.py @@ -78,7 +78,7 @@ class case_mergecap_pcap(subprocesstest.SubprocessTestCase): # $MERGECAP -vF pcap -w testout.pcap "${CAPTURE_DIR}dhcp.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcap) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-F', 'pcap', '-w', testout_file, capture_file('dhcp.pcap'), @@ -90,7 +90,7 @@ class case_mergecap_pcap(subprocesstest.SubprocessTestCase): # $MERGECAP -vF pcap -w testout.pcap "${CAPTURE_DIR}dhcp.pcap" "${CAPTURE_DIR}dhcp.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcap) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-F', 'pcap', '-w', testout_file, capture_file('dhcp.pcap'), capture_file('dhcp.pcap'), @@ -102,7 +102,7 @@ class case_mergecap_pcap(subprocesstest.SubprocessTestCase): # $MERGECAP -vF pcap -w testout.pcap "${CAPTURE_DIR}empty.pcap" "${CAPTURE_DIR}dhcp.pcap" "${CAPTURE_DIR}empty.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcap) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-F', 'pcap', '-w', testout_file, capture_file('empty.pcap'), capture_file('dhcp.pcap'), capture_file('empty.pcap'), @@ -114,7 +114,7 @@ class case_mergecap_pcap(subprocesstest.SubprocessTestCase): # $MERGECAP -vF pcap -w testout.pcap "${CAPTURE_DIR}dhcp-nanosecond.pcap" "${CAPTURE_DIR}rsasnakeoil2.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcap) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-F', 'pcap', '-w', testout_file, capture_file('dhcp-nanosecond.pcap'), capture_file('rsasnakeoil2.pcap'), @@ -130,7 +130,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -v -w testout.pcap "${CAPTURE_DIR}dhcp.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-w', testout_file, capture_file('dhcp.pcap'), )) @@ -141,7 +141,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -v -w testout.pcap "${CAPTURE_DIR}dhcp.pcap" "${CAPTURE_DIR}dhcp.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-w', testout_file, capture_file('dhcp.pcap'), capture_file('dhcp.pcap'), )) @@ -152,7 +152,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -vI 'none' -w testout.pcap "${CAPTURE_DIR}dhcp.pcap" "${CAPTURE_DIR}dhcp.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-I', 'none', '-w', testout_file, capture_file('dhcp.pcap'), capture_file('dhcp.pcap'), @@ -164,7 +164,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -vI 'all' -w testout.pcap "${CAPTURE_DIR}dhcp.pcap" "${CAPTURE_DIR}dhcp.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-I', 'all', '-w', testout_file, capture_file('dhcp.pcap'), capture_file('dhcp.pcap'), @@ -176,7 +176,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -vI 'any' -w testout.pcap "${CAPTURE_DIR}dhcp.pcap" "${CAPTURE_DIR}dhcp.pcap" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-I', 'any', '-w', testout_file, capture_file('dhcp.pcap'), capture_file('dhcp.pcap'), @@ -188,7 +188,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -v -w testout.pcap "${CAPTURE_DIR}dhcp.pcapng" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-w', testout_file, capture_file('dhcp.pcapng'), )) @@ -199,7 +199,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -v -w testout.pcap "${CAPTURE_DIR}many_interfaces.pcapng.1" > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-w', testout_file, capture_file('many_interfaces.pcapng.1'), )) @@ -210,7 +210,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -v -w testout.pcap "${CAPTURE_DIR}"many_interfaces.pcapng* > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-w', testout_file, capture_file('many_interfaces.pcapng.1'), capture_file('many_interfaces.pcapng.2'), @@ -223,7 +223,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -vI 'none' -w testout.pcap "${CAPTURE_DIR}"many_interfaces.pcapng* > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-I', 'none', '-w', testout_file, capture_file('many_interfaces.pcapng.1'), @@ -238,7 +238,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -vI 'none' -w testin.pcap "${CAPTURE_DIR}"many_interfaces.pcapng* > testout.txt 2>&1 testin_file = self.filename_from_id('testin.pcapng') self.assertRun((cmd_mergecap, - '-v', + '-V', '-I', 'none', '-w', testin_file, capture_file('many_interfaces.pcapng.1'), @@ -251,7 +251,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -vI 'all' -w testout.pcap ./testin.pcap ./testin.pcap ./testin.pcap > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-I', 'all', '-w', testout_file, testin_file, testin_file, testin_file, @@ -265,7 +265,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -vI 'none' -w testin.pcap "${CAPTURE_DIR}"many_interfaces.pcapng* > testout.txt 2>&1 testin_file = self.filename_from_id('testin.pcapng') self.assertRun((cmd_mergecap, - '-v', + '-V', '-I', 'none', '-w', testin_file, capture_file('many_interfaces.pcapng.1'), @@ -278,7 +278,7 @@ class case_mergecap_pcapng(subprocesstest.SubprocessTestCase): # $MERGECAP -vI 'any' -w testout.pcap ./testin.pcap ./testin.pcap ./testin.pcap > testout.txt 2>&1 testout_file = self.filename_from_id(testout_pcapng) mergecap_proc = self.assertRun((cmd_mergecap, - '-v', + '-V', '-I', 'any', '-w', testout_file, testin_file, testin_file, testin_file, |