diff options
author | Andrea Bolognani <abologna@redhat.com> | 2017-11-03 13:09:47 +0100 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2017-11-03 13:24:12 +0100 |
commit | 3e7db8d3e8538bcd5deb1b111fb1233fc18831aa (patch) | |
tree | 33603505f2d95869500875a82cde7ebf847fe125 /tests/xml2vmxtest.c | |
parent | a92c4f7537577f1443ddd6fef4e0dfcb054e5f08 (diff) | |
download | libvirt-3e7db8d3e8538bcd5deb1b111fb1233fc18831aa.tar.gz |
Remove backslash alignment attempts
Right-aligning backslashes when defining macros or using complex
commands in Makefiles looks cute, but as soon as any changes is
required to the code you end up with either distractingly broken
alignment or unnecessarily big diffs where most of the changes
are just pushing all backslashes a few characters to one side.
Generated using
$ git grep -El '[[:blank:]][[:blank:]]\\$' | \
grep -E '*\.([chx]|am|mk)$$' | \
while read f; do \
sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
done
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Diffstat (limited to 'tests/xml2vmxtest.c')
-rw-r--r-- | tests/xml2vmxtest.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/xml2vmxtest.c b/tests/xml2vmxtest.c index 13f53e7d2d..7b01151974 100644 --- a/tests/xml2vmxtest.c +++ b/tests/xml2vmxtest.c @@ -199,14 +199,14 @@ mymain(void) { int result = 0; -# define DO_TEST(_in, _out, _version) \ - do { \ - struct testInfo info = { _in, _out, _version }; \ - virResetLastError(); \ - if (virTestRun("VMware XML-2-VMX "_in" -> "_out, \ - testCompareHelper, &info) < 0) { \ - result = -1; \ - } \ +# define DO_TEST(_in, _out, _version) \ + do { \ + struct testInfo info = { _in, _out, _version }; \ + virResetLastError(); \ + if (virTestRun("VMware XML-2-VMX "_in" -> "_out, \ + testCompareHelper, &info) < 0) { \ + result = -1; \ + } \ } while (0) testCapsInit(); |