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:
Cole Robinson 2019-12-09 09:30:09 -05:00
parent 24cbacfe7a
commit e1e753848b
1 changed files with 1 additions and 1 deletions

View File

@ -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)