Commit c5ac545c authored by Hilko Bengen's avatar Hilko Bengen

Add patch to tests that fixes behavior on mips for reasons unknown to maintainer (Closes: #848919)

parent a7d95988
From: Hilko Bengen <>
Date: Mon, 26 Dec 2016 19:50:07 +0100
Subject: Add a test that seems to unbreak the following test when building on
cachedsess.t.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cachedsess.t.c b/cachedsess.t.c
index 7daa472..dcbafc0 100644
--- a/cachedsess.t.c
+++ b/cachedsess.t.c
@@ -82,6 +82,7 @@ START_TEST(cache_dsess_01)
fail_unless(ssl_session_is_valid(s1), "session invalid");
cachemgr_dsess_set((struct sockaddr*)&addr, addrlen, sni, s1);
+ fail_unless(!!s1, "cache stored no session");
s2 = cachemgr_dsess_get((struct sockaddr*)&addr, addrlen, sni);
fail_unless(!!s2, "cache returned no session");
fail_unless(s2 != s1, "cache returned same pointer");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment