summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-07-14 13:55:50 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-07-14 13:55:50 (GMT)
commitc8f4641507bf4ca85c70c39c786c07f8ef4a24ed (patch)
tree34e5c602848adad062fe4253af1b5636efa54862 /test
parentb2c8ac133cba4e9265b4f40c4c2d085f8d72f92e (diff)
downloadhdf5-c8f4641507bf4ca85c70c39c786c07f8ef4a24ed.zip
hdf5-c8f4641507bf4ca85c70c39c786c07f8ef4a24ed.tar.gz
hdf5-c8f4641507bf4ca85c70c39c786c07f8ef4a24ed.tar.bz2
[svn-r30184] Converted h5_fileaccess() to H5Pcreate() in the sec2 test.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0 Autotools serial, vfd test only w/ various VFDs
Diffstat (limited to 'test')
-rw-r--r--test/vfd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/vfd.c b/test/vfd.c
index c947589..daac185 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -97,7 +97,8 @@ test_sec2(void)
h5_reset();
/* Set property list and file name for SEC2 driver. */
- fapl_id = h5_fileaccess();
+ if((fapl_id = H5Pcreate(H5P_FILE_ACCESS)) < 0)
+ FAIL_STACK_ERROR;
if(H5Pset_fapl_sec2(fapl_id) < 0)
FAIL_STACK_ERROR;
h5_fixname(FILENAME[0], fapl_id, filename, sizeof(filename));