aboutsummaryrefslogtreecommitdiff
path: root/tests/.gitignore
diff options
context:
space:
mode:
authorZhang Chen <zhangchen.fnst@cn.fujitsu.com>2016-03-15 15:41:34 +0800
committerJason Wang <jasowang@redhat.com>2016-03-30 08:57:16 +0800
commit06809ecf7312c8653964de661f932a0ed7cd0076 (patch)
treefd7d2ad85902d2051bbc9e46c659b5c2d4897f18 /tests/.gitignore
parentf6d3afb51f47af7bbc600c48cd54003a0b6d0f5e (diff)
tests/test-filter-mirror:add filter-mirror unit test
In this unit test we will test the mirror function. start qemu with: -netdev socket,id=qtest-bn0,fd=sockfd -device e1000,netdev=qtest-bn0,id=qtest-e0 -chardev socket,id=mirror0,path=/tmp/filter-mirror-test.sock,server,nowait -object filter-mirror,id=qtest-f0,netdev=qtest-bn0,queue=tx,outdev=mirror0 We inject packet to netdev socket id = qtest-bn0, filter-mirror will copy and mirror the packet to mirror0. we read packet from mirror0 and then compare to what we injected. Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'tests/.gitignore')
-rw-r--r--tests/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index 5f30cbea07..7bb4c736ea 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -68,5 +68,6 @@ test-write-threshold
test-x86-cpuid
test-xbzrle
test-netfilter
+test-filter-mirror
*-test
qapi-schema/*.test.*