[Box Backup-commit] COMMIT r2188 - box/trunk/test/bbackupd
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Wed, 28 May 2008 18:22:51 +0100 (BST)
Author: chris
Date: 2008-05-28 18:22:51 +0100 (Wed, 28 May 2008)
New Revision: 2188
Modified:
box/trunk/test/bbackupd/testbbackupd.cpp
Log:
Fix compile error on Windows.
Modified: box/trunk/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/trunk/test/bbackupd/testbbackupd.cpp 2008-05-28 17:04:18 UTC (rev 2187)
+++ box/trunk/test/bbackupd/testbbackupd.cpp 2008-05-28 17:22:51 UTC (rev 2188)
@@ -2102,7 +2102,7 @@
compareReturnValue = ::system(command.c_str());
TestRemoteProcessMemLeaks("bbackupquery.memleaks");
TEST_RETURN(compareReturnValue,
- BackupQueries:ReturnCode::Compare_Same);
+ BackupQueries::ReturnCode::Compare_Same);
// Check that bbackupquery can restore the dir when given
// on the command line in system encoding.
@@ -2113,7 +2113,7 @@
compareReturnValue = ::system(command.c_str());
TestRemoteProcessMemLeaks("bbackupquery.memleaks");
TEST_RETURN(compareReturnValue,
- BackupQueries:ReturnCode::Command_OK);
+ BackupQueries::ReturnCode::Command_OK);
// Compare to make sure it was restored properly.
command = BBACKUPQUERY " -c testfiles/bbackupd.conf "
@@ -2138,7 +2138,7 @@
compareReturnValue = ::system(command.c_str());
TEST_RETURN(compareReturnValue,
- BackupQueries:ReturnCode::Command_OK);
+ BackupQueries::ReturnCode::Command_OK);
TestRemoteProcessMemLeaks("bbackupquery.memleaks");
// And after changing directory to a relative path
@@ -2150,7 +2150,7 @@
compareReturnValue = ::system(command.c_str());
TEST_RETURN(compareReturnValue,
- BackupQueries:ReturnCode::Command_OK);
+ BackupQueries::ReturnCode::Command_OK);
TestRemoteProcessMemLeaks("testfiles/bbackupquery.memleaks");
// cannot overwrite a file that exists, so delete it
@@ -2165,7 +2165,7 @@
compareReturnValue = ::system(command.c_str());
TEST_RETURN(compareReturnValue,
- BackupQueries:ReturnCode::Command_OK);
+ BackupQueries::ReturnCode::Command_OK);
TestRemoteProcessMemLeaks("testfiles/bbackupquery.memleaks");
// Compare to make sure it was restored properly.
@@ -2179,7 +2179,7 @@
compareReturnValue = ::system(command.c_str());
TestRemoteProcessMemLeaks("bbackupquery.memleaks");
TEST_RETURN(compareReturnValue,
- BackupQueries:ReturnCode::Compare_Same);
+ BackupQueries::ReturnCode::Compare_Same);
// Compare without attributes. This should fail.
command = BBACKUPQUERY " "