Enable the internal path clearing instead of using
virTestClearCommandPath.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
memset(&inst, 0, sizeof(inst));
- virCommandSetDryRun(dryRunToken, &buf, false, false, NULL, NULL);
+ virCommandSetDryRun(dryRunToken, &buf, false, true, NULL, NULL);
if (!vars)
goto cleanup;
goto cleanup;
actualargv = virBufferContentAndReset(&buf);
- virTestClearCommandPath(actualargv);
testRemoveCommonRules(actualargv);