diff options
-rw-r--r-- | source4/torture/unix/whoami.c | 3 |
1 files changed, 3 insertions, 0 deletions
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]); } } |