selftests/bpf: rewrite test_align
authorEdward Cree <ecree@solarflare.com>
Mon, 7 Aug 2017 14:27:34 +0000 (15:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 00:51:35 +0000 (17:51 -0700)
commit9fafa80513d922ed80c2067a3ea636696fc14c61
tree98eeb33bf269b89940c3e1df4006f0f222022609
parentf65b18493f4f13e8ff38425f22f9b2c7bc435197
selftests/bpf: rewrite test_align

Expectations have changed, as has the format of the logged state.
To make the tests easier to read, add a line-matching framework so that
 each match need only quote the register it cares about.  (Multiple
 matches may refer to the same line, but matches must be listed in
 order of increasing line.)

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_align.c