From 4ad89e19d12c3c3fd7ab25dc1eb5a3fb5720cccc Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 1 Mar 2008 21:32:07 +0000 Subject: Delete bbstored PID file after killing the daemon on Windows, as the daemon can't clean up after itself. --- test/backupstorefix/testbackupstorefix.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/backupstorefix') diff --git a/test/backupstorefix/testbackupstorefix.cpp b/test/backupstorefix/testbackupstorefix.cpp index 34565bd5..3954d7ad 100644 --- a/test/backupstorefix/testbackupstorefix.cpp +++ b/test/backupstorefix/testbackupstorefix.cpp @@ -601,7 +601,10 @@ int test(int argc, const char *argv[]) // ------------------------------------------------------------------------------------------------ // Stop server TEST_THAT(KillServer(pid)); - #ifndef WIN32 + + #ifdef WIN32 + TEST_THAT(unlink("testfiles/bbstored.pid") == 0); + #else TestRemoteProcessMemLeaks("bbstored.memleaks"); #endif } -- cgit v1.2.3