OSDN Git Service

Make sys_resource test more robust.
authorYabin Cui <yabinc@google.com>
Mon, 5 Jan 2015 19:06:30 +0000 (11:06 -0800)
committerYabin Cui <yabinc@google.com>
Tue, 2 Jun 2015 21:40:26 +0000 (14:40 -0700)
commite7ece90b5036a56241c268861bb0dea87aa856b7
tree86219aa2942573705bb16017b54703627d93a5dd
parentc891e24073830e07ba7373dee554ff2c70e1d313
Make sys_resource test more robust.

Bug: 19482626

"ulimit -c xxx" command may run before bionic-unit-tests.
Make sure sys_resource test fails gently in that case.

Change-Id: Ic3b5ed8b20acba56df8c5ef082c88e5050e761aa
(cherry picked from commit 4853f40f3fb6664cb1b7af97b6b3e795717026b1)
tests/sys_resource_test.cpp