summaryrefslogtreecommitdiff
path: root/lib/common
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-11-04 14:52:31 +0000
committerChris Wilson <chris+github@qwirx.com>2007-11-04 14:52:31 +0000
commitf114405fabe5874d20234897119860b6d4d0cc68 (patch)
tree25b1d3df67904f4811f5bce0bf8f2738d7fb3cf1 /lib/common
parent971e6a1884802941d0d96a302005bca27b347383 (diff)
Make sync_and_wait() do what it's supposed to, not just force a sync.
Diffstat (limited to 'lib/common')
-rw-r--r--lib/common/Test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h
index d377bce6..e43a518b 100644
--- a/lib/common/Test.h
+++ b/lib/common/Test.h
@@ -393,7 +393,7 @@ inline void wait_for_sync_end()
inline void sync_and_wait()
{
TEST_THAT(::system(BBACKUPCTL " -q -c testfiles/bbackupd.conf "
- "force-sync") == 0);
+ "sync-and-wait") == 0);
TestRemoteProcessMemLeaks("bbackupctl.memleaks");
}