提交 914b46d2 编写于 作者: R root

resolve failed testcases:ActsIpcSignalTest/IpcSignalTest

Change-Id: Id67b513ff5685d8ad0edace95de766edfbc16056
上级 3045e3b3
......@@ -21,6 +21,7 @@
const int MAX_SIGNAL = 31;
const int MAX_DESCRP_LEN = 32;
const int KEEP_RUN_TIME = 150;
enum SignalAction {TERMINATE, COREDUMP, IGNORE, STOP, CONTINUE};
struct SignalNameAction {
char signame[12];
......
......@@ -115,7 +115,7 @@ void IpcSignalTest::DefaultActionTest(const int signum, const bool expectStop, c
}
} else { // child
LOGD("child start");
KeepRun(150);
KeepRun(KEEP_RUN_TIME);
if (expectStop) {
LOG("Child should has been Terminated, but still alive.");
exit(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册