From cab7991e31750ba967ea2e894b6f0fd4fdb8c830 Mon Sep 17 00:00:00 2001 From: Anders Blomdell <anders.blomdell@control.lth.se> Date: Fri, 28 Jun 2019 16:40:03 +0200 Subject: [PATCH] Fix indentation in tests --- libtest.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libtest.c b/libtest.c index c48e009..fee0487 100644 --- a/libtest.c +++ b/libtest.c @@ -95,37 +95,37 @@ int main(int ac, char **av) TEST(nfs4_gss_princ_to_ids("krb5", princ, &uid, &gid), ( "nfs4_gss_princ_to_ids: error %d\n", err), - ( "nfs4_gss_princ_to_ids: princ %s has uid %d gid %d\n", + ( " nfs4_gss_princ_to_ids: princ %s has uid %d gid %d\n", princ, uid, gid)); ngids = 1000; TEST(nfs4_gss_princ_to_grouplist("krb5", princ, gids, &ngids), - (" nfs4_gss_princ_to_grouplist: error %d\n", err), - (" nfs4_gss_princ_to_grouplist: princ %s has gids ", princ)); + ("nfs4_gss_princ_to_grouplist: error %d\n", err), + (" nfs4_gss_princ_to_grouplist: princ %s has gids ", princ)); for (i = 0; i < ngids; i++) printf("%d ", gids[i]); printf("\n"); TEST(nfs4_name_to_uid(name, &uid), ("nfs4_name_to_uid: error %d\n", err), - ("nfs4_name_to_uid: name %s has uid %d\n", name, uid)); + (" nfs4_name_to_uid: name %s has uid %d\n", name, uid)); /* uid is set by nfs4_name_to_uid() */ memset(name_buf, 0, 32); TEST(nfs4_uid_to_name(uid, NULL, name_buf, 32), ("nfs4_uid_to_name: error %d\n", err), - ("nfs4_uid_to_name: uid %d has name %s\n", uid, name_buf)); + (" nfs4_uid_to_name: uid %d has name %s\n", uid, name_buf)); } else if (strcmp(mode, "-g") == 0) { TEST(nfs4_name_to_gid(name, &gid), ("nfs4_name_to_gid: error %d\n", err), - ("nfs4_name_to_gid: name %s has gid %d\n", name, gid)); + (" nfs4_name_to_gid: name %s has gid %d\n", name, gid)); /* gid is set by nfs4_name_to_gid() */ memset(name_buf, 0, 32); TEST(nfs4_gid_to_name(gid, NULL, name_buf, 32), ("nfs4_gid_to_name: error %d\n", err), - ("nfs4_gid_to_name: gid %d has name %s\n", gid, name_buf)); + (" nfs4_gid_to_name: gid %d has name %s\n", gid, name_buf)); } return 0; } -- GitLab