Skip to content

Commit

Permalink
env vars do not get native newlines .. so don't test for newlines at …
Browse files Browse the repository at this point in the history
…all (refs buildbot#835)
  • Loading branch information
Dustin J. Mitchell committed Jun 7, 2010
1 parent 4177240 commit a0a586f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slave/buildslave/test/unit/test_slave_commands_base.py
Expand Up @@ -193,7 +193,7 @@ def testLogEnviron(self):
d = s.start()
def check(ign):
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
self.failUnless(nl("FOO=BAR\n") in headers, "got:\n" + headers)
self.failUnless("FOO=BAR" in headers, "got:\n" + headers)
d.addCallback(check)
return d

Expand All @@ -205,7 +205,7 @@ def testNoLogEnviron(self):
d = s.start()
def check(ign):
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
self.failUnless(nl("FOO=BAR\n") not in headers, "got:\n" + headers)
self.failUnless("FOO=BAR" not in headers, "got:\n" + headers)
d.addCallback(check)
return d

Expand Down

0 comments on commit a0a586f

Please sign in to comment.