summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorEnrico Granata <egranata@google.com>2017-11-08 11:07:06 -0800
committerEnrico Granata <egranata@google.com>2017-11-08 15:16:46 -0800
commitefbd4adaf39495f02de043866e3980d0e8cf08d2 (patch)
tree187391aff82b383a451a3e5d4b4c7dfc12f7dc3d /annotations/generate_annotated_java_files.py
parent4b1ccfe5138940139fb7bf459c542cf2d4f0d6ee (diff)
Fix OsTest for different possible setgroups() return values.
setgroups() can return EINVAL if the number of groups passed is > NGROUPS_MAX. This means that the call in this test could fail with EINVAL is NGROUPS_MAX is == 0. Address this possibility by checking and choosing an appropriate error code to test against. Bug: 69023954 Test: vogar OsTest Change-Id: Id03cdb73a9cc3df31f22b25dc28079aac609a35f
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions