summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-05-06 19:38:35 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-05-06 19:38:35 (GMT)
commitba8fd7feb2150b38ed4c57eda650c3d656297f00 (patch)
treea9d7b073ad38d6590eea25b095a21656d5053de0 /test/tfile.c
parentd30d2ba5b96baa7ee6c61652d6ce734f4979fbe6 (diff)
downloadhdf5-ba8fd7feb2150b38ed4c57eda650c3d656297f00.zip
hdf5-ba8fd7feb2150b38ed4c57eda650c3d656297f00.tar.gz
hdf5-ba8fd7feb2150b38ed4c57eda650c3d656297f00.tar.bz2
[svn-r6808] Purpose:
code warrior fix Description: eliminate the CW failure on getname.c restrict the H5_NO_FILE_SHARING just to the test file_close of testhdf5 test Solution: the CW failure on getname.c can be eliminated if a unmount of the file is made before closing it on tfile.c the failure is due to the file sharing flag of CW, and the test is maintained as before Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c
index cac159a..d9cd9bf 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -920,7 +920,9 @@ test_file(void)
test_file_create(); /* Test file creation(also creation templates)*/
test_file_open(); /* Test file opening */
+#ifndef H5_NO_SHARED_WRITING
test_file_close(); /* Test file close behavior */
+#endif /* H5_NO_SHARED_WRITING */
} /* test_file() */