samba-tool/tests: Force the gecos of the user to a fixed value.
commitfbb12b574df69a1cda0a3f201f21279650ddc4c4
authorMatthieu Patou <mat@matws.net>
Tue, 14 May 2013 13:20:18 +0000 (14 06:20 -0700)
committerStefan Metzmacher <metze@samba.org>
Wed, 15 May 2013 14:19:23 +0000 (15 16:19 +0200)
tree067ec25d8b9a62057ee3836824ef8840708f7d71
parent54f4536980d86faf532708c92890dd9e8b09667a
samba-tool/tests: Force the gecos of the user to a fixed value.

When --gecos is not specified samba-tool user add will try to read the
gecos field from a getpw call. And if user's GECOS is empty (like the
build user on sn-devel-104) then the test will fail because we can't add
an empty gecos.

Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed May 15 16:19:23 CEST 2013 on sn-devel-104
python/samba/tests/samba_tool/user.py