From 22f054e2ffda0f76a23fc2fc4ded6b3bbd466804 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 20 Oct 2014 16:52:28 +0000 Subject: [PATCH] fix test_checking --- test/test_checking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_checking.cpp b/test/test_checking.cpp index f1b31fa8e..affec6c77 100644 --- a/test/test_checking.cpp +++ b/test/test_checking.cpp @@ -179,7 +179,7 @@ void test_checking(int flags = read_only_files) { TEST_CHECK(!st.is_seeding); - if (read_only_files) + if (flags & read_only_files) { // we expect our checking of the files to trigger // attempts to truncate them, since the files are