summaryrefslogtreecommitdiff
path: root/test/raidfile/testraidfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/raidfile/testraidfile.cpp')
-rwxr-xr-xtest/raidfile/testraidfile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/raidfile/testraidfile.cpp b/test/raidfile/testraidfile.cpp
index 13ae9083..9803d44d 100755
--- a/test/raidfile/testraidfile.cpp
+++ b/test/raidfile/testraidfile.cpp
@@ -525,8 +525,10 @@ void test_overwrites()
writeA.Write("TESTTEST", 8);
{
+#ifndef PLATFORM_open_USE_fcntl
RaidFileWrite writeA2(0, "overwrite_A");
TEST_CHECK_THROWS(writeA2.Open(), RaidFileException, FileIsCurrentlyOpenForWriting);
+#endif
}
}