tests: Fix rtprtx test by handling buffer lists
authorJan Schmidt <jan@centricular.com>
Thu, 9 Apr 2015 02:58:04 +0000 (12:58 +1000)
committerJan Schmidt <jan@centricular.com>
Thu, 9 Apr 2015 02:58:04 +0000 (12:58 +1000)
commita51073c7deefcec2dbfd8f7a29a64aa44bacf6ee
treee55d831798265ab7121e277eef1e05ca0745af88
parentfe739b7f889e9ae2ed68d5cea757c5f12f1aa960
tests: Fix rtprtx test by handling buffer lists

Commit #1018aa made rtprtxsend handle buffer lists, breaking
the test which probes for buffers, but not buffer lists.

Use a utility function to run the probe callback on each buffer
in the list in turn and remove any buffers that are dropped.
tests/check/elements/rtprtx.c