diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-copy.c b/src/test/test-copy.c index d2cad08cb6..d70a0be2a2 100644 --- a/src/test/test-copy.c +++ b/src/test/test-copy.c @@ -67,8 +67,8 @@ static void test_copy_file_fd(void) { assert_se(out_fd >= 0); assert_se(write_string_file(in_fn, text) == 0); - assert_se(copy_file_fd("/a/file/which/does/not/exist/i/guess", out_fd) < 0); - assert_se(copy_file_fd(in_fn, out_fd) >= 0); + assert_se(copy_file_fd("/a/file/which/does/not/exist/i/guess", out_fd, true) < 0); + assert_se(copy_file_fd(in_fn, out_fd, true) >= 0); assert_se(lseek(out_fd, SEEK_SET, 0) == 0); assert_se(read(out_fd, buf, sizeof(buf)) == sizeof(text) - 1); |