summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-07-09 06:43:11 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-07-09 06:43:11 (GMT)
commitb2c8ac133cba4e9265b4f40c4c2d085f8d72f92e (patch)
tree40abb877903c2d352db340a5bb5419f274706e26
parent267787999532fa12bd36d3eb3ea334a864d4b1a1 (diff)
downloadhdf5-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/vfd.c b/test/vfd.c
index 596d39a..c947589 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -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));
/************************************************************************