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/commandtest.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/commandtest.c')
-rw-r--r-- | tests/commandtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/commandtest.c b/tests/commandtest.c index 7d73f638a2..1aa3e45187 100644 --- a/tests/commandtest.c +++ b/tests/commandtest.c @@ -1260,9 +1260,9 @@ mymain(void) environ = (char **)newenv; -# define DO_TEST(NAME) \ - if (virTestRun("Command Exec " #NAME " test", \ - NAME, NULL) < 0) \ +# define DO_TEST(NAME) \ + if (virTestRun("Command Exec " #NAME " test", \ + NAME, NULL) < 0) \ ret = -1 DO_TEST(test0); |