summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-12 11:31:31 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-19 04:04:20 +0200
commit8825085ea40d80d1061e83cd471b7732934619ad (patch)
tree9f8ba4a664e126148dd6072fb1000acf371e2cd8 /source4/torture
parent6305b4b64fea206150603f0de29c937d4e9afb3c (diff)
downloadsamba-8825085ea40d80d1061e83cd471b7732934619ad.tar.gz
samba-8825085ea40d80d1061e83cd471b7732934619ad.tar.bz2
samba-8825085ea40d80d1061e83cd471b7732934619ad.zip
s4-torture: Also print GID values in whoami test
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/unix/whoami.c3
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]);
}
}