mirror of https://gitee.com/openkylin/libvirt.git
tests: fix REGENERATE test-wrap-argv.py usage
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>
This commit is contained in:
parent
24cbacfe7a
commit
e1e753848b
|
@ -433,7 +433,7 @@ virTestRewrapFile(const char *filename)
|
||||||
return -1;
|
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);
|
cmd = virCommandNewArgList(python, script, "--in-place", filename, NULL);
|
||||||
if (virCommandRun(cmd, NULL) < 0)
|
if (virCommandRun(cmd, NULL) < 0)
|
||||||
|
|
Loading…
Reference in New Issue