]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: fix REGENERATE test-wrap-argv.py usage
authorCole Robinson <crobinso@redhat.com>
Mon, 9 Dec 2019 14:30:09 +0000 (09:30 -0500)
committerCole Robinson <crobinso@redhat.com>
Tue, 10 Dec 2019 14:55:45 +0000 (09:55 -0500)
The path needs to be adjusted for the new script location

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
tests/testutils.c

index 9312ff761ed9d58736a77d86549d7c1db984c526..a8215afa425b2780712078da9ef110aafa264fad 100644 (file)
@@ -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)