From 7bcbf16abc3aa23b6709199c8c1f0120312aca6a Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Wed, 3 May 2023 11:46:59 -0500 Subject: fixed args in execvp for h5fuse (#2885) --- testpar/t_subfiling_vfd.c | 9 +++++---- 1 file 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); -- cgit v0.12