selftest: Use self.runsubcmd() to run samba-tool for _test_join in ridalloc_exop.py
commit37cf29ef7dcad72f606b293aba59f8293d7a8ae2
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jul 2017 03:02:00 +0000 (6 15:02 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 27 Jul 2017 22:25:14 +0000 (28 00:25 +0200)
tree828c6cedfff851de46b9307e0dfb4d22ae057948
parentf7089c0262e629ee3f321207ff1f6e3246af5f3b
selftest: Use self.runsubcmd() to run samba-tool for _test_join in ridalloc_exop.py

This is the standard way to run samba-tool from in the test scripts and allows
assertion that the command ran as expected

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/torture/drs/python/ridalloc_exop.py