| 97 | } |
| 98 | |
| 99 | Status WriteTestFile(const string& name, const string& data) { |
| 100 | unique_ptr<RWFile> f; |
| 101 | RWFileOptions opts; |
| 102 | opts.is_sensitive = true; |
| 103 | RETURN_NOT_OK(env_->NewRWFile(opts, name, &f)); |
| 104 | RETURN_NOT_OK(f->Write(f->GetEncryptionHeaderSize(), data)); |
| 105 | return Status::OK(); |
| 106 | } |
| 107 | |
| 108 | void AssertFdsAndDescriptors(int num_expected_fds, |
| 109 | int num_expected_descriptors) { |
no test coverage detected