diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-03-01 21:32:07 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-03-01 21:32:07 +0000 |
commit | 4ad89e19d12c3c3fd7ab25dc1eb5a3fb5720cccc (patch) | |
tree | 364eca8b6c42ca3386188a14f3da72cca060bbb7 /test/backupstorefix/testbackupstorefix.cpp | |
parent | 0e731ac0420e60e0197dd1a009216f0d1e12f06e (diff) |
Delete bbstored PID file after killing the daemon on Windows, as the
daemon can't clean up after itself.
Diffstat (limited to 'test/backupstorefix/testbackupstorefix.cpp')
-rw-r--r-- | test/backupstorefix/testbackupstorefix.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 } |