summaryrefslogtreecommitdiffstats
path: root/testpar/t_subfiling_vfd.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2023-05-03 16:46:59 (GMT)
committerGitHub <noreply@github.com>2023-05-03 16:46:59 (GMT)
commit8435e5d2d9885eae23a605581bb97f073fb8b943 (patch)
treecc5091dac61c73941a65097d2b208a52445ded6e /testpar/t_subfiling_vfd.c
parenta1a5d027a2d047f72ab3659100c4187f842c6e0f (diff)
downloadhdf5-8435e5d2d9885eae23a605581bb97f073fb8b943.zip
hdf5-8435e5d2d9885eae23a605581bb97f073fb8b943.tar.gz
hdf5-8435e5d2d9885eae23a605581bb97f073fb8b943.tar.bz2
fixed args in execvp for h5fuse (#2885)
Diffstat (limited to 'testpar/t_subfiling_vfd.c')
-rw-r--r--testpar/t_subfiling_vfd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/testpar/t_subfiling_vfd.c b/testpar/t_subfiling_vfd.c
index f827aa5..0841923 100644
--- a/testpar/t_subfiling_vfd.c
+++ b/testpar/t_subfiling_vfd.c
@@ -1888,7 +1888,7 @@ test_subfiling_h5fuse(void)
if (pid == 0) {
char *tmp_filename;
- char *args[6];
+ char *args[7];
tmp_filename = HDmalloc(PATH_MAX);
VRFY(tmp_filename, "HDmalloc succeeded");
@@ -1900,9 +1900,10 @@ test_subfiling_h5fuse(void)
args[0] = HDstrdup("env");
args[1] = HDstrdup("sh");
args[2] = HDstrdup("h5fuse.sh");
- args[3] = HDstrdup("-q -f");
- args[4] = tmp_filename;
- args[5] = NULL;
+ args[3] = HDstrdup("-q");
+ args[4] = HDstrdup("-f");
+ args[5] = tmp_filename;
+ args[6] = NULL;
/* Call h5fuse script from MPI rank 0 */
HDexecvp("env", args);