Skip to content

Commit

Permalink
tests: Only run python SSL test if SSL support is configured
Browse files Browse the repository at this point in the history
Only run python SSL test, which invokes ovsdb with a --remote=pssl,
if SSL support is configured.

Without this change the following error appears when running
the test-suite when OVS is configured with --disable-ssl.

+ovsdb-server: Private key specified but Open vSwitch was built without SSL support
./ovsdb-idl.at:1215: exit code was 1, expected 0

Fixes: d90ed7d ("python: Add SSL support to the python ovs client library")
Signed-off-by: Simon Horman <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
shorman-netronome committed May 4, 2017
1 parent 86e4311 commit 1e96502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ovsdb-idl.at
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,7 @@ m4_define([OVSDB_CHECK_IDL_NOTIFY_PY],
# This test uses the Python IDL implementation with ssl
m4_define([OVSDB_CHECK_IDL_NOTIFY_SSL_PY],
[AT_SETUP([$1 - SSL])
AT_SKIP_IF([test "$HAVE_OPENSSL" = no])
AT_SKIP_IF([test $HAVE_PYTHON = no])
$PYTHON -m OpenSSL.SSL
SSL_PRESENT=$?
Expand Down

0 comments on commit 1e96502

Please sign in to comment.