torture-winbind: Assert that the list of trusted domains is not NULL
authorAndrew Bartlett <abartlet@samba.org>
Tue, 28 Apr 2015 02:20:35 +0000 (14:20 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 5 May 2015 23:22:14 +0000 (01:22 +0200)
commita62e78cef61c1f3f602db39027433e6a1b71c110
treea525d08bd3342e6007c337e3aefff69e74e6f2f1
parent406cd32126d223d79bdb4328f5404889b4f11d52
torture-winbind: Assert that the list of trusted domains is not NULL

By doing this, we avoid the test being dependent on if the lsa trusted domains tests have run.

Otherwise, we may have a non-null extra_data against the internal winbind, but
only 1 trusted domain (torturedom), but not the local domains that were expected

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/winbind/struct_based.c