]> granicus.if.org Git - strace/commit
tests/keyctl: improve readability
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 1 Sep 2017 13:12:42 +0000 (15:12 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 2 Sep 2017 21:48:14 +0000 (21:48 +0000)
commit5a8b032f2f28f1da0646bb40c929c575aff95d5a
tree1e83c2bd0cabb6936202ff3d1a87768ce389cfb5
parentbe307d73cee434f5eaf0643c8a51bf59d57c9851
tests/keyctl: improve readability

* tests/keyctl.c: Since do_keyctl() has so convoluted calling convention
and keyctl test is so complex, let's try to improve readability a bit
with some conventions regarding do_keyctl() call formatting: arguments
representing single keyctl argument should be put on the separate line,
continuations of arguments related to the same keyctl argument should
have additional indentation and termination 0UL should always be
on a separate line.  Also, while we are here, let's add spaces
to two type casts that are missing them.
tests/keyctl.c