[libvirt] [PATCH 1/2] tests: fix REGENERATE test-wrap-argv.py usage

Cole Robinson crobinso at redhat.com
Mon Dec 9 14:30:09 UTC 2019


The path needs to be adjusted for the new script location

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 tests/testutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/testutils.c b/tests/testutils.c
index 9312ff761e..a8215afa42 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -433,7 +433,7 @@ virTestRewrapFile(const char *filename)
         return -1;
     }
 
-    script = g_strdup_printf("%s/test-wrap-argv.py", abs_srcdir);
+    script = g_strdup_printf("%s/scripts/test-wrap-argv.py", abs_top_srcdir);
 
     cmd = virCommandNewArgList(python, script, "--in-place", filename, NULL);
     if (virCommandRun(cmd, NULL) < 0)
-- 
2.23.0




More information about the libvir-list mailing list