This allows a knownfail entry to be written for this test.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
import os
from subprocess import Popen, PIPE
+from samba.tests import BlackboxProcessError
from samba.tests.ntlm_auth_base import NTLMAuthTestCase
from samba.common import get_string
"--password", self.password,
"--domain", self.domain,
"--diagnostics"]
- self.check_exit_code(cmd_line, 0)
+ try:
+ self.check_exit_code(cmd_line, 0)
+ except BlackboxProcessError as e:
+ self.fail(e)