summaryrefslogtreecommitdiffstats
path: root/test/external_env.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-04-09 14:07:53 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-04-09 14:07:53 (GMT)
commitee655cf374c5f2b2f43673a9e1d925af0f231626 (patch)
treeb17b2677e8536ac0a2b26327981363b943577f15 /test/external_env.c
parent94ecd14100c226ae16ba8e6122e8a025b408f360 (diff)
downloadhdf5-ee655cf374c5f2b2f43673a9e1d925af0f231626.zip
hdf5-ee655cf374c5f2b2f43673a9e1d925af0f231626.tar.gz
hdf5-ee655cf374c5f2b2f43673a9e1d925af0f231626.tar.bz2
Brings a lot of smaller changes from develop
Diffstat (limited to 'test/external_env.c')
-rw-r--r--test/external_env.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/external_env.c b/test/external_env.c
index 4ab569f..5dc1d65 100644
--- a/test/external_env.c
+++ b/test/external_env.c
@@ -48,7 +48,6 @@ test_path_env(hid_t fapl)
hid_t dapl = -1; /* dataset access property list */
hid_t dset = -1; /* dataset */
size_t i; /* miscellaneous counters */
- char cwdpath[1024]; /* working directory */
char filename[1024]; /* file name */
int part[PART_SIZE]; /* raw data buffer (partial) */
int whole[TOTAL_SIZE]; /* raw data buffer (total) */
@@ -71,8 +70,6 @@ test_path_env(hid_t fapl)
/* Create the dataset */
if ((dcpl = H5Pcreate(H5P_DATASET_CREATE)) < 0)
FAIL_STACK_ERROR
- if (NULL == HDgetcwd(cwdpath, sizeof(cwdpath)))
- TEST_ERROR
for (i = 0; i < N_EXT_FILES; i++) {
HDsnprintf(filename, sizeof(filename), "..%sextern_env_%dr.raw", H5_DIR_SEPS, (int)i + 1);
if (H5Pset_external(dcpl, filename, (off_t)(i * GARBAGE_PER_FILE), (hsize_t)sizeof(part)) < 0)