New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test, "WITH_TLS_PSK=no" executes 08-tls-psk* tests #636

Closed
TBK opened this Issue Dec 2, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@TBK

TBK commented Dec 2, 2017

When Mosquitto is build with the WITH_TLS_PSK flag set to no, then the tests for TLS PSK are still run.

The following patch should fix the issue:

--- a/test/broker/Makefile
+++ b/test/broker/Makefile
@@ -89,8 +89,10 @@
 	./08-ssl-connect-identity.py
 	./08-ssl-connect-no-identity.py
 	./08-ssl-bridge.py
+ifeq ($(WITH_TLS_PSK),yes)
 	./08-tls-psk-pub.py
 	./08-tls-psk-bridge.py
+endif
 endif
 
 09 :

@ralight ralight added this to the fixes-next milestone Dec 3, 2017

@ralight ralight added bug build labels Dec 3, 2017

@ralight ralight self-assigned this Dec 3, 2017

ralight added a commit that referenced this issue Dec 3, 2017

@ralight

This comment has been minimized.

Contributor

ralight commented Dec 3, 2017

Thanks, I've added a fix for this.

@ralight ralight closed this Dec 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment