mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
StrCaseCmp_Ascii_Tests: comfychair.TestCase.runcmd has changed to
return both stdout and stderr. Update to account for this. (This used to be commit 843c36143e07aa66b36014a35846143807676a10)
This commit is contained in:
parent
c9d9c7021d
commit
2323b1b52d
@ -33,7 +33,7 @@ def signum(a):
|
|||||||
class StrCaseCmp_Ascii_Tests(comfychair.TestCase):
|
class StrCaseCmp_Ascii_Tests(comfychair.TestCase):
|
||||||
"""String comparisons in simple ASCII"""
|
"""String comparisons in simple ASCII"""
|
||||||
def run_strcmp(self, a, b, expect):
|
def run_strcmp(self, a, b, expect):
|
||||||
out = self.runcmd('t_strcmp \"%s\" \"%s\"' % (a, b))
|
out, err = self.runcmd('t_strcmp \"%s\" \"%s\"' % (a, b))
|
||||||
if signum(int(out)) != expect:
|
if signum(int(out)) != expect:
|
||||||
self.fail("comparison failed:\n"
|
self.fail("comparison failed:\n"
|
||||||
" a=%s\n"
|
" a=%s\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user