testing: Add support for counting matching lines in tests
authorTobias Brunner <tobias@strongswan.org>
Wed, 12 Jul 2017 14:53:13 +0000 (16:53 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 7 Aug 2017 08:44:05 +0000 (10:44 +0200)
commit99cf64e960eddac09e4d362bc79a5194217ecb87
tree5bd58fc2f4d62547d7fa359983b31087bc608b51
parentf9fbcbb1a00d631bbd9d6ee1209251b3ee85dbaf
testing: Add support for counting matching lines in tests

Specifying an integer instead of YES in evaltest.dat causes the number to get
compared against the actual number of lines matching the pattern.

This may be used to count matching packets or log lines.
testing/do-tests