--- a/tests/compare.py Sun Jan 20 11:10:48 2008 -0500 +++ b/tests/compare.py Sun Jan 20 12:00:35 2008 -0500 @@ -165,9 +165,9 @@ return None def grep_output(self, output): - if self.grep and (not re.search(self.grep, output)): + if self.grep and (not re.search(self.grep, output, re.MULTILINE)): return "output did not match %s" % (self.grep) - elif self.antigrep and re.search(self.antigrep, output): + elif self.antigrep and re.search(self.antigrep, output, re.MULTILINE): return "output matched antigrep %s" % (self.antigrep) return None