summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-03-25 00:49:16 +0000
committerChris Wilson <chris+github@qwirx.com>2007-03-25 00:49:16 +0000
commite38812f20e0c86b147e330d1d158b3b828c97ffe (patch)
tree3d600e6edd0b6a6fe5385b9f63156bfb1ddb474a /test
parent31b785a3d39a2cb0723cee52091def603ba7ebd6 (diff)
Close RaidFile before committing, so that commit can work on win32.
Typo fix. (refs #3)
Diffstat (limited to 'test')
-rw-r--r--test/backupstorefix/testbackupstorefix.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/backupstorefix/testbackupstorefix.cpp b/test/backupstorefix/testbackupstorefix.cpp
index 318bea47..97ff70f3 100644
--- a/test/backupstorefix/testbackupstorefix.cpp
+++ b/test/backupstorefix/testbackupstorefix.cpp
@@ -125,6 +125,7 @@ void CorruptObject(const char *name, int start, const char *rubbish)
w.Write(rubbish, rubbish_len);
// Copy rest of file
r->CopyStreamTo(w);
+ r->Close();
// Commit
w.Commit(true /* convert now */);
}
@@ -448,7 +449,7 @@ int test(int argc, const char *argv[])
}
// ------------------------------------------------------------------------------------------------
- ::printf(" === Delete directory, change container ID of another, duplicate entry in dir, supurious file size, delete file\n");
+ ::printf(" === Delete directory, change container ID of another, duplicate entry in dir, spurious file size, delete file\n");
{
BackupStoreDirectory dir;
LoadDirectory("Test1/foreomizes/stemptinevidate/ict", dir);