tee: split the allocation query test
authorStefan Sauer <ensonic@users.sf.net>
Mon, 2 Oct 2017 14:25:00 +0000 (16:25 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 2 Oct 2017 14:36:54 +0000 (16:36 +0200)
commite364d7944ecbab86dea73c0ee3e639e766938d36
tree7e9d494c74bdb461993763132c897dac77928a7e
parenteb329eec1ca2ecc9119e6cee7c338832770d1f72
tee: split the allocation query test

Split the large allocation_query test into seperate tests. Add a setup helper
to reduce code duplication. Fix the original test that used fail_unless instead
of ck_assert_int_eq and had it accidentially working.
tests/check/elements/tee.c