mirror of https://github.com/OISF/suricata
qa/live: fail the dpdk test when no packets are captured
When Suricata exits during startup it never writes a stats event, so jq returns an empty string and the test aborted the comparison with "unary operator expected". Quote the value and compare it against the expected outcome, so an empty result fails the same way a false one does.pull/16292/head
parent
bc1340f4bd
commit
d84b715344
Loading…
Reference in New Issue