[sanitizer] Another attempt to fix protoent test
authorVitaly Buka <vitalybuka@google.com>
Sat, 18 Jul 2020 00:29:20 +0000 (17:29 -0700)
committerVitaly Buka <vitalybuka@google.com>
Sat, 18 Jul 2020 00:31:15 +0000 (17:31 -0700)
commit1bbed69059d5ac35c0775e8ed598a34628d8ba6d
treeab867b3c06b26d23ebb1358cb3c024f306b1e987
parentb0a971d25cdc9fdb7ca1a21db1d0fd409f58f85a
[sanitizer] Another attempt to fix protoent test

Now we are going to pick name and index based on output of getprotoent_r.
compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp