From 2323b1b52d78946ba6dd1221775f73aa80f57505 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 4 Apr 2003 03:20:24 +0000 Subject: 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) --- source3/stf/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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" -- cgit