diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-10-15 19:21:05 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-10-15 19:21:05 +0000 |
commit | 5fc8f91af0e42aa463ff8ee1bce6e38fa8ca0d08 (patch) | |
tree | b73ec2b1462646d6cc735d913fe7ee5d67313a17 | |
parent | 9a1c50ad833480750f82168a0bea138c461ec8b6 (diff) |
Compile fix (refs #3)
-rw-r--r-- | test/common/testcommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/testcommon.cpp b/test/common/testcommon.cpp index 5a88b3f9..c4a4c784 100644 --- a/test/common/testcommon.cpp +++ b/test/common/testcommon.cpp @@ -157,6 +157,7 @@ int test(int argc, const char *argv[]) TEST_CHECK_THROWS(InvisibleTempFileStream fs4(tempfile.c_str(), O_CREAT | O_EXCL), CommonException, OSFileOpenError); + fs2.Close(); #else // file is not visible under Unix TEST_THAT(!TestFileExists(tempfile.c_str())); @@ -177,7 +178,6 @@ int test(int argc, const char *argv[]) #endif fs.Close(); - fs2.Close(); fs3.Close(); // now that it's closed, it should be invisible on all platforms |