From 3e982207dd568c08cb37f1df2828572ce5dcbfc7 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 6 May 2003 09:26:27 -0500 Subject: [svn-r6805] Purpose: Revert last change (at least temporarily) Description: Revert last "NO_SHARED_WRITING" ifdefs after reviewing the tests that were ifdef'ed out. I don't think that these tests should cause a problem, so I would like them reviewed again to see if there is a file handle leak in the library (or test). Platforms tested: FreeBSD 4.8 (sleipnir) Triple check not needed. --- test/getname.c | 13 ------------- test/tfile.c | 4 ---- 2 files changed, 17 deletions(-) diff --git a/test/getname.c b/test/getname.c index 9817d9e..4c07d49 100644 --- a/test/getname.c +++ b/test/getname.c @@ -834,8 +834,6 @@ int main( void ) PASSED(); -#ifndef H5_NO_SHARED_WRITING - /*------------------------------------------------------------------------- * Test H5Iget_name with H5Fmount; long name *------------------------------------------------------------------------- @@ -1142,9 +1140,6 @@ int main( void ) PASSED(); -#endif /* H5_NO_SHARED_WRITING */ - - /*------------------------------------------------------------------------- * Test H5Iget_name with a defined type dataset *------------------------------------------------------------------------- @@ -1408,8 +1403,6 @@ int main( void ) PASSED(); -#ifndef H5_NO_SHARED_WRITING - /*------------------------------------------------------------------------- * Test H5Iget_name with added names with mounting *------------------------------------------------------------------------- @@ -1721,9 +1714,6 @@ int main( void ) PASSED(); -#endif /* H5_NO_SHARED_WRITING */ - - /*------------------------------------------------------------------------- * Test H5Iget_name with H5Glink hard *------------------------------------------------------------------------- @@ -2087,7 +2077,6 @@ int main( void ) PASSED(); -#ifndef H5_NO_SHARED_WRITING /*------------------------------------------------------------------------- * Test H5Iget_name with several nested mounted files @@ -2868,8 +2857,6 @@ int main( void ) PASSED(); -#endif /* H5_NO_SHARED_WRITING */ - /*------------------------------------------------------------------------- * end tests diff --git a/test/tfile.c b/test/tfile.c index 1629057..cac159a 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -915,18 +915,14 @@ test_obj_count_and_id(hid_t fid1, hid_t fid2, hid_t did, hid_t gid1, void test_file(void) { -#ifndef H5_NO_SHARED_WRITING - /* Output message about test being performed */ MESSAGE(5, ("Testing Low-Level File I/O\n")); test_file_create(); /* Test file creation(also creation templates)*/ test_file_open(); /* Test file opening */ test_file_close(); /* Test file close behavior */ -#endif /* H5_NO_SHARED_WRITING */ } /* test_file() */ - /*------------------------------------------------------------------------- * Function: cleanup_file -- cgit v0.12