Setting tag sliver-openvswitch-2.2.90-1
[sliver-openvswitch.git] / tests / vconn.at
1 m4_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      OVS_RUNDIR=`pwd`; export OVS_RUNDIR
15       m4_if([$1], [ssl], [
16         AT_SKIP_IF([test "$HAVE_OPENSSL" = no])
17         AT_CHECK([cp $abs_top_builddir/tests/testpki*.pem .])])
18       AT_CHECK([ovstest test-vconn testname $1], [0], [], [ignore])
19       AT_CLEANUP])])
20
21 TEST_VCONN_CLASS([unix])
22 TEST_VCONN_CLASS([tcp])
23 TEST_VCONN_CLASS([ssl])