diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-07-09 06:43:11 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-07-09 06:43:11 (GMT) |
commit | b2c8ac133cba4e9265b4f40c4c2d085f8d72f92e (patch) | |
tree | 40abb877903c2d352db340a5bb5419f274706e26 | |
parent | 267787999532fa12bd36d3eb3ea334a864d4b1a1 (diff) | |
download | hdf5-b2c8ac133cba4e9265b4f40c4c2d085f8d72f92e.zip hdf5-b2c8ac133cba4e9265b4f40c4c2d085f8d72f92e.tar.gz hdf5-b2c8ac133cba4e9265b4f40c4c2d085f8d72f92e.tar.bz2 |
[svn-r30163] Changed a h5_fileaccess() call to H5Pcreate() in the core VFD test.
Since it only tests the core VFD, there's no need to get a
VFD-dependent fapl.
Tested on:
64-bit Ubuntu Linux w/ gcc 5.3.1
vfd test w/ all VFDs tested by make check-vfd
-rw-r--r-- | test/vfd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -196,7 +196,8 @@ test_core(void) h5_reset(); /* Get a file access property list and fix up the file name */ - fapl_id = h5_fileaccess(); + if((fapl_id = H5Pcreate(H5P_FILE_ACCESS)) < 0) + FAIL_STACK_ERROR; h5_fixname(FILENAME[1], fapl_id, filename, sizeof(filename)); /************************************************************************ |