summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/bbackupd/testbbackupd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp
index a9855250..f99ffcb4 100644
--- a/test/bbackupd/testbbackupd.cpp
+++ b/test/bbackupd/testbbackupd.cpp
@@ -3899,7 +3899,7 @@ bool test_locked_file_behaviour()
// and the appropriate error is reported.
HANDLE handle = openfile("testfiles/TestDir1/f1.dat",
- O_LOCK, 0);
+ BOX_OPEN_LOCK, 0);
TEST_THAT_OR(handle != INVALID_HANDLE_VALUE, FAIL);
{
@@ -3928,7 +3928,7 @@ bool test_locked_file_behaviour()
// open the file again, compare and check that compare
// reports the correct error message (and finishes)
handle = openfile("testfiles/TestDir1/f1.dat",
- O_LOCK, 0);
+ BOX_OPEN_LOCK, 0);
TEST_THAT_OR(handle != INVALID_HANDLE_VALUE, FAIL);
TEST_COMPARE(Compare_Error);