commit | ef01d8dc6807fc4adc9968bd79d93bcf87664046 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Tue Apr 09 11:53:45 2019 -0700 |
committer | Chenbo Feng <fengc@google.com> | Tue Apr 09 17:28:12 2019 -0700 |
tree | 5c0876b8aa0b7f6f74666ea95e81798ad1d1fb20 | |
parent | 244865a0260154ae1b179f9efae1ad2a175e8593 [diff] |
Set the rlimit for unit tests If the device does not have a sufficient global rlimit set, the unit tests will fail because it cannot create test maps. Since the unit tests are usually running as root, let them manually set the rlimit before the test start to prevent the failure. Bug: 119279144 Bug: 129246448 Test: netd_unit_test, libnetdbpf_test Change-Id: Ia882809eee2ddf9d0e0d41cfffa754366962db3d