diff options
author | dana koch <dsk@google.com> | 2014-02-15 21:48:58 +1100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-17 22:55:40 +0000 |
commit | f49805b6816c5968f5c325022c96f9672da90ed4 (patch) | |
tree | 855bcdc632de04929b1c7a85ff8e20f2a4c021dc /changes | |
parent | 8999150f71e401bfd9eed4a10f905f0f60073c38 (diff) | |
download | tor-f49805b6816c5968f5c325022c96f9672da90ed4.tar tor-f49805b6816c5968f5c325022c96f9672da90ed4.tar.gz |
Restitute a successful stat call to this test case.
Since the first stat call is made for it to deliberately fail, and we
reference st.st_mode without st having valid data, st.st_mode can contain
garbage and cause chmod to fail with EINVAL. We rerun stat and ensure it
succeeded.
Also make use of tt_abort_perror, to properly convey failure reasons to
the user.
Diffstat (limited to 'changes')
0 files changed, 0 insertions, 0 deletions