[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:
Binh-Minh Ribler 2005-01-03 11:04:23 -05:00
parent 7fae6be03c
commit b36c5db865

View File

@ -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