mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
[svn-r9737] Purpose: Clean up tests
Description: Corrected a misuse of a variable causing access violation. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
This commit is contained in:
parent
7fae6be03c
commit
b36c5db865
@ -117,8 +117,8 @@ test_file_create(void)
|
||||
* exists from the previous steps.
|
||||
*/
|
||||
try {
|
||||
file1 = new H5File( FILE1, H5F_ACC_EXCL ); // should throw E
|
||||
verify_val(file1->getId(), FAIL, "H5File constructor", __LINE__, __FILE__);
|
||||
H5File file2(FILE1, H5F_ACC_EXCL); // should throw E
|
||||
verify_val(file2.getId(), FAIL, "H5File constructor", __LINE__, __FILE__);
|
||||
}
|
||||
catch( FileIException E ) {} // do nothing, FAIL expected
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user