Improve messages for omitted tests

Do not remove repo file session.pem
pull/13/head
Soner Tari 6 years ago
parent 3d668aabb6
commit 62b4760930

@ -118,7 +118,8 @@ START_TEST(cache_fkcrt_04)
/* deliberate access of free'd X509* */
fail_unless(c1->references == 0, "refcount != 0");
#else /* LIBRESSL_VERSION_NUMBER */
fprintf(stderr, "test cache_fkcrt_04 omitted because LibreSSL fails with refcount != 0\n");
fprintf(stderr, "deliberate access after free test in cache_fkcrt_04 "
"omitted because LibreSSL fails with refcount != 0\n");
#endif /* LIBRESSL_VERSION_NUMBER */
fail_unless(cachemgr_preinit() != -1, "reinit");
}

@ -115,7 +115,8 @@ START_TEST(cache_tgcrt_04)
/* deliberate access of free'd cert_t* */
fail_unless(c1->references == 0, "refcount != 0");
#else /* LIBRESSL_VERSION_NUMBER */
fprintf(stderr, "test cache_tgcrt_04 omitted because LibreSSL fails with refcount != 0\n");
fprintf(stderr, "deliberate access after free test in cache_tgcrt_04 "
"omitted because LibreSSL fails with refcount != 0\n");
#endif /* LIBRESSL_VERSION_NUMBER */
fail_unless(cachemgr_preinit() != -1, "reinit");
}

@ -66,7 +66,9 @@ START_TEST(cert_refcount_inc_01)
/* deliberate access after last free() */
fail_unless(c->references == 0, "refcount mismatch");
#else /* LIBRESSL_VERSION_NUMBER */
fprintf(stderr, "test cert_refcount_inc_01 omitted because LibreSSL fails with refcount mismatch\n");
fprintf(stderr, "deliberate access after free test in "
"cert_refcount_inc_01 omitted because LibreSSL fails with refcount "
"mismatch\n");
#endif /* LIBRESSL_VERSION_NUMBER */
}
END_TEST

@ -122,7 +122,7 @@ session.pem: server.pem
test -r $@
clean:
rm -rf rsa.* dsa.* ec.* dh*.param targets *.srl session.pem server.*
rm -rf rsa.* dsa.* ec.* dh*.param targets *.srl server.*
.PHONY: all clean rsa dsa ec dh session targets

Loading…
Cancel
Save