summaryrefslogtreecommitdiff
path: root/source3/stf
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-04-04 03:20:24 +0000
committerMartin Pool <mbp@samba.org>2003-04-04 03:20:24 +0000
commit2323b1b52d78946ba6dd1221775f73aa80f57505 (patch)
treeacafc07dcdce69f91efd42a566e7377b9e4d5b20 /source3/stf
parentc9d9c7021db344854dcfbfd325761ab3cf1f69d3 (diff)
downloadsamba-2323b1b52d78946ba6dd1221775f73aa80f57505.tar.gz
samba-2323b1b52d78946ba6dd1221775f73aa80f57505.tar.bz2
samba-2323b1b52d78946ba6dd1221775f73aa80f57505.zip
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)
Diffstat (limited to 'source3/stf')
-rwxr-xr-xsource3/stf/strings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/stf/strings.py b/source3/stf/strings.py
index a67e137058..8fc12d4e39 100755
--- a/source3/stf/strings.py
+++ b/source3/stf/strings.py
@@ -33,7 +33,7 @@ def signum(a):
class StrCaseCmp_Ascii_Tests(comfychair.TestCase):
"""String comparisons in simple ASCII"""
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:
self.fail("comparison failed:\n"
" a=%s\n"