X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fvconn.at;h=4e91ed8505d5a16374702538f3aeec84fba0053f;hb=6d308b28c023e864925b1a6775b3b91d215e89bf;hp=2f64f820211ae477642af9cc1374fda9ef3dc425;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;p=sliver-openvswitch.git diff --git a/tests/vconn.at b/tests/vconn.at index 2f64f8202..4e91ed850 100644 --- a/tests/vconn.at +++ b/tests/vconn.at @@ -11,10 +11,11 @@ m4_define([TEST_VCONN_CLASS], [send-short-hello], [send-invalid-version-hello]], [AT_SETUP([$1 vconn - m4_bpatsubst(testname, [-], [ ])]) + OVS_RUNDIR=`pwd`; export OVS_RUNDIR m4_if([$1], [ssl], [ AT_SKIP_IF([test "$HAVE_OPENSSL" = no]) - AT_CHECK([cp $abs_top_srcdir/tests/testpki*.pem .])]) - AT_CHECK([test-vconn testname $1], [0], [], [ignore]) + AT_CHECK([cp $abs_top_builddir/tests/testpki*.pem .])]) + AT_CHECK([ovstest test-vconn testname $1], [0], [], [ignore]) AT_CLEANUP])]) TEST_VCONN_CLASS([unix])