tests: add test cases for netfilter object
commit89b1273742f45c30927df203532fca0d9a3e1af7
authorYang Hongyang <yanghy@cn.fujitsu.com>
Wed, 7 Oct 2015 03:52:22 +0000 (7 11:52 +0800)
committerJason Wang <jasowang@redhat.com>
Mon, 12 Oct 2015 05:34:32 +0000 (12 13:34 +0800)
treecef4cfebe2f52ed782f2ee96378e3552dea970d7
parent7dbb11c84f25e20301b47a77102db00d68a2c4a4
tests: add test cases for netfilter object

Using qtest qmp interface to implement following cases:
1) add/remove netfilter
2) add a netfilter then delete the netdev
3) add/remove more than one netfilters
4) add more than one netfilters and then delete the netdev

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
tests/.gitignore
tests/Makefile
tests/test-netfilter.c [new file with mode: 0644]