From 444dc15ebc6d91e884178b5d80f3011de4cde762 Mon Sep 17 00:00:00 2001 From: Marek Smolinski Date: Thu, 20 Mar 2014 15:23:22 +0100 Subject: [PATCH] Fix tc18_security_server_get_smacklabel_cookie_nosmack Wrong logical expresion checking empty string in ASSERTION Change-Id: I2b2ddd59fbf028430392a9dcdc90e7c539f06024 Signed-off-by: Marek Smolinski --- tests/security-server-tests/security_server_tests_client_smack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/security-server-tests/security_server_tests_client_smack.cpp b/tests/security-server-tests/security_server_tests_client_smack.cpp index 4600fa0..1fdedfd 100644 --- a/tests/security-server-tests/security_server_tests_client_smack.cpp +++ b/tests/security-server-tests/security_server_tests_client_smack.cpp @@ -643,7 +643,7 @@ RUNNER_TEST_NOSMACK(tc18_security_server_get_smacklabel_cookie_nosmack) { std::string label(label_ss); free(label_ss); - RUNNER_ASSERT_MSG_BT(!label.empty(), "label_ss was not an empty string."); + RUNNER_ASSERT_MSG_BT(label.empty(), "label_ss is not an empty string."); } -- 2.7.4