]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test-wrap-argv: print diff instead of the incorrectly wrapped file
authorJán Tomko <jtomko@redhat.com>
Mon, 11 Jul 2016 14:15:02 +0000 (16:15 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 12 Jul 2016 10:15:50 +0000 (12:15 +0200)
commita5dace965a9952f195e2cc59c00ae51c2084f0da
tree96a50e0d148de5642987a07638becce4b06c18b9
parentcc04181a7cb9b98d51a3299da91c347229851851
test-wrap-argv: print diff instead of the incorrectly wrapped file

Commit c9c03ea stopped creating an intermediate file during syntax-check
to save on execution time. It also switched to outputting the whole
incorrectly wrapped file instead of a diff needed to fix it.

Feed the newly wrapped file to diff via a pipe.

Note that fixing it by running test-wrap-argv.pl --in-place or
the unit test with VIR_TEST_REGENERATE_OUTPUT is easier.
tests/test-wrap-argv.pl