fix test_checking

This commit is contained in:
Arvid Norberg 2014-10-20 16:52:28 +00:00
parent f6b3d43565
commit 22f054e2ff
1 changed files with 1 additions and 1 deletions

View File

@ -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