test-runner: add debug info for cmd being executed
This commit is contained in:
parent
d9848730ed
commit
b3abd2f7ca
|
@ -326,10 +326,15 @@ static pid_t execute_program(char *argv[], bool wait)
|
|||
{
|
||||
int status;
|
||||
pid_t pid, child_pid;
|
||||
char *str;
|
||||
|
||||
if (!argv[0])
|
||||
return -1;
|
||||
|
||||
str = l_strjoinv(argv, ' ');
|
||||
l_debug("Executing: %s", str);
|
||||
l_free(str);
|
||||
|
||||
child_pid = fork();
|
||||
if (child_pid < 0) {
|
||||
l_error("Failed to fork new process");
|
||||
|
|
Loading…
Reference in New Issue