diff --git a/test/src/common/harnessFork.h b/test/src/common/harnessFork.h index 67d9d8d67..1dd47122f 100644 --- a/test/src/common/harnessFork.h +++ b/test/src/common/harnessFork.h @@ -62,47 +62,47 @@ Return the process index of the child (i.e. the index in the total) /*********************************************************************************************************************************** Return the id of the child process, 0 if in the child process ***********************************************************************************************************************************/ -#define HARNESS_FORK_PROCESS_ID(processIdx) \ +#define HARNESS_FORK_PROCESS_ID(processIdx) \ HARNESS_FORK_processIdList[processIdx] /*********************************************************************************************************************************** Return the pipe for the child process ***********************************************************************************************************************************/ -#define HARNESS_FORK_PIPE(processIdx) \ +#define HARNESS_FORK_PIPE(processIdx) \ HARNESS_FORK_pipe[processIdx] /*********************************************************************************************************************************** Is the pipe required for this child process? ***********************************************************************************************************************************/ -#define HARNESS_FORK_PIPE_REQUIRED(processIdx) \ +#define HARNESS_FORK_PIPE_REQUIRED(processIdx) \ HARNESS_FORK_pipeRequired[processIdx] /*********************************************************************************************************************************** Get read/write pipe handles ***********************************************************************************************************************************/ -#define HARNESS_FORK_CHILD_READ_PROCESS(processIdx) \ +#define HARNESS_FORK_CHILD_READ_PROCESS(processIdx) \ HARNESS_FORK_PIPE(processIdx)[1][0] #define HARNESS_FORK_CHILD_READ() \ HARNESS_FORK_CHILD_READ_PROCESS(HARNESS_FORK_PROCESS_IDX()) -#define HARNESS_FORK_CHILD_WRITE_PROCESS(processIdx) \ +#define HARNESS_FORK_CHILD_WRITE_PROCESS(processIdx) \ HARNESS_FORK_PIPE(processIdx)[0][1] #define HARNESS_FORK_CHILD_WRITE() \ HARNESS_FORK_CHILD_WRITE_PROCESS(HARNESS_FORK_PROCESS_IDX()) -#define HARNESS_FORK_PARENT_READ_PROCESS(processIdx) \ +#define HARNESS_FORK_PARENT_READ_PROCESS(processIdx) \ HARNESS_FORK_PIPE(processIdx)[0][0] -#define HARNESS_FORK_PARENT_WRITE_PROCESS(processIdx) \ +#define HARNESS_FORK_PARENT_WRITE_PROCESS(processIdx) \ HARNESS_FORK_PIPE(processIdx)[1][1] /*********************************************************************************************************************************** At the end of the HARNESS_FORK block the parent will wait for the child to exit. By default an exit code of 0 is expected but that can be modified when the child begins. ***********************************************************************************************************************************/ -#define HARNESS_FORK_CHILD_EXPECTED_EXIT_STATUS(processIdx) \ +#define HARNESS_FORK_CHILD_EXPECTED_EXIT_STATUS(processIdx) \ HARNESS_FORK_expectedExitStatus[processIdx] /***********************************************************************************************************************************