From b3abd2f7ca6bfde8ebb954de03d6b46644409dd8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 9 Jun 2016 09:55:33 -0500 Subject: [PATCH] test-runner: add debug info for cmd being executed --- tools/test-runner.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/test-runner.c b/tools/test-runner.c index 28d98142..00f63157 100644 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -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");