From 5fc8f91af0e42aa463ff8ee1bce6e38fa8ca0d08 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 15 Oct 2006 19:21:05 +0000 Subject: Compile fix (refs #3) --- test/common/testcommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/common') 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 -- cgit v1.2.3