test/compress: add out of space test
authorMarko Kovacevic <marko.kovacevic@intel.com>
Thu, 17 Jan 2019 10:19:11 +0000 (10:19 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 18 Jan 2019 00:05:31 +0000 (01:05 +0100)
commitc1bbb613ce9646c3c3458cb36994b0edb22305d9
tree62512fce9dfd27f63b28634c3495b31472761d9f
parentafe14ab9a7f86e4d192a6eb0aee0e4d52af273ca
test/compress: add out of space test

This patch adds new out of space testcase to check
that the destination mbuf is smaller than required for
the output of compression to ensure the driver doesn't crash
and returns the valid error case.

Signed-off-by: Marko Kovacevic <marko.kovacevic@intel.com>
Acked-by: Lee Daly <lee.daly@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/test_compressdev.c