Skip to content

Commit 8aa3876

Browse files
Update test/http_tests.cc
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent bbc5e58 commit 8aa3876

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/http_tests.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ TEST(TestHTTPFile, TestWriteSmallFile) {
111111

112112
XrdOucEnv env;
113113
std::unique_ptr<XrdOssDF> fh(fs.newFile());
114-
// Create a small file
114+
auto rc =
115+
fh->Open("/test_write.txt", O_WRONLY | O_CREAT | O_TRUNC, 0644, env);
115116
auto rc = fh->Open("/test_write.txt", O_WRONLY | O_CREAT | O_TRUNC, 0644, env);
116117
ASSERT_EQ(rc, 0);
117118

0 commit comments

Comments
 (0)