diff options
| author | Elliott Hughes <enh@google.com> | 2022-05-13 16:06:54 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2022-05-16 17:56:24 +0000 |
| commit | 1727595b0e06ba8d4cfe2f01e5ebde0313b0b4c1 (patch) | |
| tree | df0e3aa7227090e55e3cbc1a00a3836fe126f247 /libc/malloc_hooks/malloc_hooks.cpp | |
| parent | 16457fd9d0d985c07c8b581a3e5542084cf70f2a (diff) | |
mntent_test: don't assume /proc isn't the first mount.
This test tried to be lazy and test both getmntent() and getmntent_r()
in the same test, but that led to an implicit assumption that /proc
isn't the first mount returned.
This new version is quite a bit more thorough than the old. It does
assume that the mount list doesn't change while the test is running, but
that seems like a reasonable assumption to make during CTS?
Bug: https://issuetracker.google.com/230228681
Test: treehugger
Change-Id: I5c5f0b86ae1c4df9a2ce69d48e1c3accb42c687b
(cherry picked from commit 1e393b0699745d6120d2fd43f58dc3d5863e3b87)
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions
