]>
Commit | Line | Data |
---|---|---|
d27ce529 BP |
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 | 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 | ||
20 | TEST_VCONN_CLASS([unix]) | |
21 | TEST_VCONN_CLASS([tcp]) | |
22 | TEST_VCONN_CLASS([ssl]) |