diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-04-06 16:00:46 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-04-06 16:00:46 +0000 |
commit | 0410cee17471dbced2e755960a22ffbd389c398d (patch) | |
tree | c781dfa9ee7a60af6f4b6b84031dd9e91a482d6a /test | |
parent | 7eba0435de6484f40f230f61bc05d21ffb610403 (diff) |
Disable interrupted restore test on Win32 (uses fork)
(refs #3, merges part of [623])
Diffstat (limited to 'test')
-rw-r--r-- | test/bbackupd/testbbackupd.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index e7566488..73b5ae5f 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -465,6 +465,7 @@ void terminate_on_alarm(int sigraised) abort(); } +#ifndef WIN32 void do_interrupted_restore(const TLSContext &context, int64_t restoredirid) { int pid = 0; @@ -527,6 +528,7 @@ void do_interrupted_restore(const TLSContext &context, int64_t restoredirid) } } } +#endif // !WIN32 int start_internal_daemon() { @@ -1514,8 +1516,9 @@ int test_bbackupd() compareReturnValue = ::system("../../bin/bbackupquery/bbackupquery -q -c testfiles/bbackupd.conf -l testfiles/query6.log \"compare -ac\" quit"); TEST_THAT(compareReturnValue == 2*256); TestRemoteProcessMemLeaks("bbackupquery.memleaks"); - - printf("Interrupted restore\n"); + +#ifndef WIN32 + printf("\n==== Interrupted restore\n"); { do_interrupted_restore(context, restoredirid); int64_t resumesize = 0; @@ -1543,6 +1546,7 @@ int test_bbackupd() TEST_THAT(compareReturnValue == 1*256); TestRemoteProcessMemLeaks("bbackupquery.memleaks"); } +#endif // !WIN32 printf("Check restore deleted files\n"); { |