]> git.proxmox.com Git - ovs.git/blame - tests/vconn.at
tests: Fix sparse error on test-ovn.c
[ovs.git] / tests / vconn.at
CommitLineData
d27ce529
BP
1m4_define([TEST_VCONN_CLASS],
2 [AT_BANNER([vconn library -- $1 class])
3 m4_foreach(
4 [testname],
5 [[refuse-connection],
6 [accept-then-close],
7 [read-hello],
8 [send-plain-hello],
9 [send-long-hello],
10 [send-echo-hello],
11 [send-short-hello],
12 [send-invalid-version-hello]],
13 [AT_SETUP([$1 vconn - m4_bpatsubst(testname, [-], [ ])])
14 m4_if([$1], [ssl], [
15 AT_SKIP_IF([test "$HAVE_OPENSSL" = no])
15b619e2 16 AT_CHECK([cp $abs_top_builddir/tests/testpki*.pem .])])
eadd1644 17 AT_CHECK([ovstest test-vconn testname $1], [0], [], [ignore])
d27ce529
BP
18 AT_CLEANUP])])
19
20TEST_VCONN_CLASS([unix])
21TEST_VCONN_CLASS([tcp])
22TEST_VCONN_CLASS([ssl])