summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-12-27 18:45:57 +0000
committerChris Wilson <chris+github@qwirx.com>2015-12-27 18:45:57 +0000
commit863e811335dd84c0c129a0c5dca4324b399538e0 (patch)
tree0db99be3701bb6eb373791e6a4b40786801a753b /lib
parentb513e9a2f74068b65693e82f1d861f94b460118e (diff)
Check that DoHousekeeping() actually returns true.
Diffstat (limited to 'lib')
-rw-r--r--lib/backupstore/StoreTestUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupstore/StoreTestUtils.cpp b/lib/backupstore/StoreTestUtils.cpp
index 1f5a14cc..2b773cb1 100644
--- a/lib/backupstore/StoreTestUtils.cpp
+++ b/lib/backupstore/StoreTestUtils.cpp
@@ -206,7 +206,7 @@ int64_t run_housekeeping(BackupStoreAccountDatabase::Entry& rAccount)
// Do housekeeping on this account
HousekeepStoreAccount housekeeping(rAccount.GetID(), rootDir,
discSet, NULL);
- housekeeping.DoHousekeeping(true /* keep trying forever */);
+ TEST_THAT(housekeeping.DoHousekeeping(true /* keep trying forever */));
return housekeeping.GetErrorCount();
}