From: Ilho Kim Date: Wed, 24 Aug 2022 07:12:02 +0000 (+0900) Subject: Modify to generate SIGKILL instead of SIGSEGV in StepCrash X-Git-Tag: accepted/tizen/unified/20220908.013411~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fappfw%2Fapp-installers.git;a=commitdiff_plain;h=f4058b93aa26da5930c11f11d2206372d7a1a4d7 Modify to generate SIGKILL instead of SIGSEGV in StepCrash When performing the smoke test many processes are terminated due to SIGSEGV and coredump is generated this can cause a lot of load on the system, so it is replaced with SIGKILL Change-Id: I54d8820097ba2c0a48d48d2185f0277b70f993f2 Signed-off-by: Ilho Kim --- diff --git a/test/smoke_tests/common/smoke_utils.h b/test/smoke_tests/common/smoke_utils.h index 6983566..0674247 100644 --- a/test/smoke_tests/common/smoke_utils.h +++ b/test/smoke_tests/common/smoke_utils.h @@ -383,12 +383,12 @@ class StepCrash : public common_installer::Step { common_installer::Step::Status process() override { if (type_ == CrashStepType::PROCESS) - raise(SIGSEGV); + raise(SIGKILL); return Status::OK; } common_installer::Step::Status clean() override { if (type_ == CrashStepType::CLEAN) - raise(SIGSEGV); + raise(SIGKILL); return Status::OK; } common_installer::Step::Status undo() override {