You've already forked pgbackrest
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 todee90d3e
which exposed file handles for IoRead. Also expose handle for StorageDriverPosixFileRead missed indee90d3e
.
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user