]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_verify.c
Ensure NDEBUG is not set in the test suite.
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_verify.c
index e731747799ed8f6edd8c077656cca2d9326aab34..96a27059b717a1ce8feed47b0bdebdda1e9bde2f 100644 (file)
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
+
 #include "execute_tests.h"
 #include "test_cases_verify.h"
 #include "../common/containers.h"
@@ -44,10 +48,6 @@ static void test_case_verify_05(void **state);
 static bool test_verify_05(void);
 static void test_case_verify_06(void **state);
 static bool test_verify_06(void);
-static void test_case_verify_07(void **state);
-static bool test_verify_07(void);
-static void test_case_verify_08(void **state);
-static bool test_verify_08(void);
 
 /* State structure for verify API Test Case #1 */
 static black_box_state_t test_case_verify_01_state = {
@@ -120,7 +120,7 @@ bool test_verify_01(void) {
                return false;
        }
 
-       PRINT_TEST_CASE_MSG("meshlink_verify Successfuly verified data\n");
+       PRINT_TEST_CASE_MSG("meshlink_verify Successfully verified data\n");
        return true;
 }
 
@@ -161,7 +161,7 @@ bool test_verify_02(void) {
        meshlink_destroy("verifyconf");
 
        if(!ret) {
-               PRINT_TEST_CASE_MSG("meshlink_sign Successfuly reported error on passing NULL as mesh_handle arg\n");
+               PRINT_TEST_CASE_MSG("meshlink_sign Successfully reported error on passing NULL as mesh_handle arg\n");
                return true;
        }