]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
bsd fix: pipe wc output to xargs
authorJason Ish <ish@unx.ca>
Sun, 24 Sep 2017 10:36:51 +0000 (11:36 +0100)
committerJason Ish <ish@unx.ca>
Sun, 24 Sep 2017 10:36:51 +0000 (11:36 +0100)
commitef8caabf7136602add58775c4cb1c45d3285a1d4
tree43ad89605d08a493220e549134f9b723c64ad24c
parentca88d8ee9175a6753129ce97e39486c10a5dee4f
bsd fix: pipe wc output to xargs

On BSD and Mac, wc -l outputs right justified strings, causing
the check to fail. Passing through xargs is a hack to strip
the white space.
15 files changed:
alert-testmyids-not-established/check.sh
alert-testmyids/check.sh
dnp3-dnp3_data-alert/check.sh
dns-json-log/check.sh
dns-tcp-multirequest-buffer-1/check.sh
dns-tcp-ts-gap/check.sh
dns-udp-dig-a-www-suricata-ids-org/check.sh
dns-udp-dns-log-unanswered/check.sh
dns-udp-double-request-response/check.sh
dns-udp-unsolicited-response/check.sh
dns-udp-z-flag-fp/check.sh
functions.sh
tls-fingerprint-alert/check.sh
tls-json-output-ids/check.sh
tls-json-output-ips/check.sh