From 8627a40fbab223386c9d13bb63e4e5d52a795286 Mon Sep 17 00:00:00 2001 From: Ola Bini Date: Fri, 29 Jan 2016 11:38:54 -0500 Subject: Add a helper to search for strings in the log, and change option tests to use this helper instead of looking at specific indices in the log list --- src/test/log_test_helpers.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/log_test_helpers.h') diff --git a/src/test/log_test_helpers.h b/src/test/log_test_helpers.h index af8e8a60e7..3a565c67c5 100644 --- a/src/test/log_test_helpers.h +++ b/src/test/log_test_helpers.h @@ -26,6 +26,7 @@ void teardown_capture_of_logs(int prev); const char *mock_saved_log_at(int ix); int mock_saved_severity_at(int ix); int mock_saved_log_number(void); +int mock_saved_log_has_message(const char *msg); #endif -- cgit v1.2.3-54-g00ecf