1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-13 01:00:23 +02:00

Expose handle (file descriptor) from IoWrite when applicable.

This is a followup to dee90d3e which exposed file handles for IoRead.

Also expose handle for StorageDriverPosixFileRead missed in dee90d3e.
This commit is contained in:
David Steele
2019-04-29 14:54:49 -04:00
parent e2141cc05f
commit 60edadf71d
12 changed files with 81 additions and 1 deletions

View File

@ -497,6 +497,7 @@ testRun(void)
MEM_CONTEXT_TEMP_END();
ioWriteOpen(ioHandleWriteIo(write));
TEST_RESULT_INT(ioWriteHandle(ioHandleWriteIo(write)), write->handle, "check write handle");
// Write a line to be read
TEST_RESULT_VOID(ioWriteStrLine(ioHandleWriteIo(write), strNew("test string 1")), "write test string");