diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-04-22 22:09:20 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-04-22 22:09:20 +0000 |
commit | fcc6205a74d413112524f34a7b370fac5cfa2978 (patch) | |
tree | f7b7bbad9ef09b701ed0006ffe90c0c6611a048d /test | |
parent | 9f0ec2522cb7f7fbe7c56a3564ebd1ab3c8bf6d9 (diff) |
Compare restored files as part of restore test (refs #3, merges part
of [623])
Diffstat (limited to 'test')
-rw-r--r-- | test/bbackupd/testbbackupd.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index 788a9e46..a7e22ea5 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -2115,6 +2115,15 @@ int test_bbackupd() protocol.QueryFinished(); } + // Compare the restored files + compareReturnValue = ::system(BBACKUPQUERY " -q " + "-c testfiles/bbackupd.conf " + "-l testfiles/query10.log " + "\"compare -cEQ Test1 testfiles/restore-Test1\" " + "quit"); + TEST_RETURN(compareReturnValue, 1); + TestRemoteProcessMemLeaks("bbackupquery.memleaks"); + printf("Add files with current time\n"); // Add some more files and modify others |