Skip to content

Commit

Permalink
tests: rename messages to messages_resource
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Feb 11, 2020
1 parent 6d3d87d commit 0ed9340
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/tests/CMakeLists.txt
Expand Up @@ -395,7 +395,7 @@ endif() # NOT client-only

if(NOT client-only)
bareos_add_test(
messages
messages_resource
LINK_LIBRARIES
bareos
dird_objects
Expand Down
Expand Up @@ -102,7 +102,7 @@ static bool DbLogInsertCallback_(JobControlRecord* jcr,
return true;
}

TEST(messages, send_message_to_all_configured_destinations)
TEST(messages_resource, send_message_to_all_configured_destinations)
{
std::string config_dir = getenv_std_string("BAREOS_CONFIG_DIR");
std::string working_dir = getenv_std_string("BAREOS_WORKING_DIR");
Expand Down
2 changes: 1 addition & 1 deletion systemtests/tests/messages-test/testrunner
Expand Up @@ -51,7 +51,7 @@ function check_output_file {

start_test

${BAREOS_UNITTESTS_BINARY_DIR}/messages > "$stdout_file" 2> "$stderr_file" || exit_error
${BAREOS_UNITTESTS_BINARY_DIR}/messages_resource > "$stdout_file" 2> "$stderr_file" || exit_error

check_output_file "$console_messages_file"
check_output_file "$syslog_file"
Expand Down

0 comments on commit 0ed9340

Please sign in to comment.