summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 04:35:55 (GMT)
committerGitHub <noreply@github.com>2023-06-28 04:35:55 (GMT)
commit7d1fdb2d277530eec6d1c8ff937634e7028892aa (patch)
treed5b832cbc566c7076b6926ce5e549bfe359fae1b /testpar
parentbadc6098f726d644cbe6e7bcb27f58e5ba6d5d34 (diff)
downloadhdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.zip
hdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.tar.gz
hdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.tar.bz2
Remove HD from fork/exec*/wait* (#3190)
These are not C99 but are hidden behind ifdefs and are highly unlikely to ever have non-POSIX equivalents.
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_subfiling_vfd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testpar/t_subfiling_vfd.c b/testpar/t_subfiling_vfd.c
index 1e094fd..10a4dd2 100644
--- a/testpar/t_subfiling_vfd.c
+++ b/testpar/t_subfiling_vfd.c
@@ -1883,8 +1883,8 @@ test_subfiling_h5fuse(void)
pid_t tmppid;
int status;
- pid = HDfork();
- VRFY(pid >= 0, "HDfork succeeded");
+ pid = fork();
+ VRFY(pid >= 0, "fork succeeded");
if (pid == 0) {
char *tmp_filename;
@@ -1906,11 +1906,11 @@ test_subfiling_h5fuse(void)
args[6] = NULL;
/* Call h5fuse script from MPI rank 0 */
- HDexecvp("env", args);
+ execvp("env", args);
}
else {
- tmppid = HDwaitpid(pid, &status, 0);
- VRFY(tmppid >= 0, "HDwaitpid succeeded");
+ tmppid = waitpid(pid, &status, 0);
+ VRFY(tmppid >= 0, "waitpid succeeded");
if (WIFEXITED(status)) {
int ret;