diff options
author | Martin Pool <mbp@samba.org> | 2003-04-04 03:20:24 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2003-04-04 03:20:24 +0000 |
commit | 2323b1b52d78946ba6dd1221775f73aa80f57505 (patch) | |
tree | acafc07dcdce69f91efd42a566e7377b9e4d5b20 /source3/stf | |
parent | c9d9c7021db344854dcfbfd325761ab3cf1f69d3 (diff) | |
download | samba-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-x | source3/stf/strings.py | 2 |
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" |