From: yeji01.kim Date: Thu, 26 Jul 2018 05:44:58 +0000 (+0900) Subject: Remove deprecated test case X-Git-Tag: submit/tizen/20181001.080809~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2722b6266e3e09eda4e1382c9cc8f4a13a3e09e;p=platform%2Fcore%2Fsecurity%2Faudit-trail.git Remove deprecated test case Change-Id: I3c83580a380128a963871eb26e51e3f3fe20229c Signed-off-by: yeji01.kim --- diff --git a/tools/tests/groups/file.cpp b/tools/tests/groups/file.cpp index bb8bc2e..8c815a3 100644 --- a/tools/tests/groups/file.cpp +++ b/tools/tests/groups/file.cpp @@ -274,14 +274,6 @@ public: unlinkat_result: Display::printResult(ret, "unlinkat(328) positive"); } - - //restore - { - if (unlink(fileName.c_str()) != 0) { - Display::printError(); - Display::printResult(Display::FAIL, "destroyFile restore"); - } - } } void createLink() { // prepare diff --git a/tools/tests/groups/system.cpp b/tools/tests/groups/system.cpp index 7d4e07f..7959882 100644 --- a/tools/tests/groups/system.cpp +++ b/tools/tests/groups/system.cpp @@ -50,7 +50,7 @@ public: changeConfigLibs(); changeKernelModule(); useKernelModule(); - changeAliasePostfix(); + changeAliase(); debugging(); container(); executeCommands(); @@ -269,12 +269,11 @@ public: } } - void changeAliasePostfix() { + void changeAliase() { std::vector testPath; struct stat st; testPath.emplace_back("/etc/aliases"); - testPath.emplace_back("/etc/postfix"); for (auto entry : testPath) { std::string logStr(entry + " access");