diff mbox series

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

Message ID 27e6969b9b0c98fcd6b048a7cb4c961c1ff429b0.1575901647.git.crobinso@redhat.com
State Accepted
Commit e1e753848bf465b436066ac203e98d009a30c6d3
Headers show
Series tests: VIR_TEST_REGENERATE_OUTPUT fixes | expand

Commit Message

Cole Robinson Dec. 9, 2019, 2:30 p.m. UTC
The path needs to be adjusted for the new script location

Signed-off-by: Cole Robinson <crobinso@redhat.com>

---
 tests/testutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.23.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
diff mbox series

Patch

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)