tests:samba_tool: pass stdout and stderr to assertCmdSuccess()
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Aug 2016 10:33:34 +0000 (12:33 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 4 Aug 2016 16:26:06 +0000 (18:26 +0200)
commitfed029a624b24e9e0b3124e1b4e0810d32a95f75
tree7a612fa3776918f56afa9ec4279db53003b30b67
parent9c6a4ea2788808bdcc7bfea798d838ea56c3b5ec
tests:samba_tool: pass stdout and stderr to assertCmdSuccess()

This allows us to generate better assert messages and give the
developer some ideas why the command wasn't able to run.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12108

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
12 files changed:
python/samba/tests/samba_tool/base.py
python/samba/tests/samba_tool/fsmo.py
python/samba/tests/samba_tool/gpo.py
python/samba/tests/samba_tool/group.py
python/samba/tests/samba_tool/ntacl.py
python/samba/tests/samba_tool/processes.py
python/samba/tests/samba_tool/rodc.py
python/samba/tests/samba_tool/sites.py
python/samba/tests/samba_tool/timecmd.py
python/samba/tests/samba_tool/user.py
python/samba/tests/samba_tool/user_check_password_script.py
source4/torture/drs/python/fsmo.py