From 8825085ea40d80d1061e83cd471b7732934619ad Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 12 Jul 2012 11:31:31 +1000 Subject: s4-torture: Also print GID values in whoami test --- source4/torture/unix/whoami.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') diff --git a/source4/torture/unix/whoami.c b/source4/torture/unix/whoami.c index bce68759f9..2bfbc04481 100644 --- a/source4/torture/unix/whoami.c +++ b/source4/torture/unix/whoami.c @@ -228,9 +228,12 @@ static bool smb_raw_query_posix_whoami(void *mem_ctx, whoami->gid_list = talloc_array(mem_ctx, uint64_t, whoami->num_gids); torture_assert(torture, whoami->gid_list != NULL, "out of memory"); + torture_comment(torture, "\tGIDs:\n"); + for (i = 0; i < whoami->num_gids; ++i) { whoami->gid_list[i] = BVAL(tp.out.data.data, offset); offset += 8; + torture_comment(torture, "\t\t%u\n", (unsigned int)whoami->gid_list[i]); } } -- cgit