]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: Rename virtTestCaptureProgramExecChild to virTestCaptureProgramExecChild.
authorTomáš Ryšavý <tom.rysavy.0@gmail.com>
Thu, 26 May 2016 15:02:03 +0000 (17:02 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 8 Jun 2016 15:23:12 +0000 (11:23 -0400)
This function doesn't follow our convention of naming functions.

tests/testutils.c

index 315ad8da85b2f4008a9ffe6b0f52b7a1829adc0b..afdd2929a4870061a5a7d044e96a9346544d6a6f 100644 (file)
@@ -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);