mirror of https://gitee.com/openkylin/libvirt.git
tests: Rename virtTestCaptureProgramExecChild to virTestCaptureProgramExecChild.
This function doesn't follow our convention of naming functions.
This commit is contained in:
parent
5d36423993
commit
b468e8ba0b
|
@ -351,8 +351,8 @@ virTestLoadFile(const char *file, char **buf)
|
|||
|
||||
#ifndef WIN32
|
||||
static
|
||||
void virtTestCaptureProgramExecChild(const char *const argv[],
|
||||
int pipefd)
|
||||
void virTestCaptureProgramExecChild(const char *const argv[],
|
||||
int pipefd)
|
||||
{
|
||||
size_t i;
|
||||
int open_max;
|
||||
|
@ -408,7 +408,7 @@ virtTestCaptureProgramOutput(const char *const argv[], char **buf, int maxlen)
|
|||
switch (pid) {
|
||||
case 0:
|
||||
VIR_FORCE_CLOSE(pipefd[0]);
|
||||
virtTestCaptureProgramExecChild(argv, pipefd[1]);
|
||||
virTestCaptureProgramExecChild(argv, pipefd[1]);
|
||||
|
||||
VIR_FORCE_CLOSE(pipefd[1]);
|
||||
_exit(EXIT_FAILURE);
|
||||
|
|
Loading…
Reference in New Issue