Change-Id: I3c83580a380128a963871eb26e51e3f3fe20229c
Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
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
changeConfigLibs();
changeKernelModule();
useKernelModule();
- changeAliasePostfix();
+ changeAliase();
debugging();
container();
executeCommands();
}
}
- void changeAliasePostfix() {
+ void changeAliase() {
std::vector<std::string> testPath;
struct stat st;
testPath.emplace_back("/etc/aliases");
- testPath.emplace_back("/etc/postfix");
for (auto entry : testPath) {
std::string logStr(entry + " access");