commit | e4944b10a24c39d9aaba7e1093d91438ddf90d09 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Tue Mar 20 09:40:12 2018 -0700 |
committer | Andreas Gampe <agampe@google.com> | Tue Mar 20 18:07:59 2018 +0000 |
tree | 6f7d281652c4d01350647eda3e179883fba6973c | |
parent | acf9c47fa44c858005809ee867ddc5e85be80e76 [diff] |
Timetest: Clean up Clean up the code a little. The removed TEMP_FAILURE_RETRY is actually wrong. The others are either superfluous or needed. Be more direct with error returns. For EBUSY, loop at most ten times, with sleep. Use unique_fd for descriptor tracking/close. Bug: 76008092 Test: atest time-unit-tests Change-Id: Id7176e0237a416a4bb19d72c47b8e1a2f6b57ca5