diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2023-05-03 16:46:59 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2023-05-03 18:26:57 (GMT) |
commit | 7bcbf16abc3aa23b6709199c8c1f0120312aca6a (patch) | |
tree | e2faf7127a6944222bb0d05e50dfd0d629474cc6 | |
parent | cc1157b7a3c739c03ff1d300f0efe5552ed3f23a (diff) | |
download | hdf5-7bcbf16abc3aa23b6709199c8c1f0120312aca6a.zip hdf5-7bcbf16abc3aa23b6709199c8c1f0120312aca6a.tar.gz hdf5-7bcbf16abc3aa23b6709199c8c1f0120312aca6a.tar.bz2 |
fixed args in execvp for h5fuse (#2885)
-rw-r--r-- | testpar/t_subfiling_vfd.c | 9 |
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); |