From: Marek Smolinski Date: Thu, 20 Mar 2014 14:23:22 +0000 (+0100) Subject: Fix tc18_security_server_get_smacklabel_cookie_nosmack X-Git-Tag: security-manager_5.5_testing~276 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F18360%2F1;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git Fix tc18_security_server_get_smacklabel_cookie_nosmack Wrong logical expresion checking empty string in ASSERTION Change-Id: I2b2ddd59fbf028430392a9dcdc90e7c539f06024 Signed-off-by: Marek Smolinski --- 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."); }