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>
Fri, 16 Jan 2015 21:28:43 +0000 (13:28 -0800)
commit4853f40f3fb6664cb1b7af97b6b3e795717026b1
tree4d73a3692e9ec67682de5441ca02c42a08d4991d
parent597800f1d71590fc9ad51ce5227280586b2ceda5
Make sys_resource test more robust.

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

Change-Id: Ic3b5ed8b20acba56df8c5ef082c88e5050e761aa
tests/sys_resource_test.cpp