[Buildbot-commits] buildbot/buildbot/test test_slavecommand.py,1.13,1.14
Brian Warner
warner at users.sourceforge.net
Mon May 16 08:50:26 UTC 2005
Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21467/buildbot/test
Modified Files:
test_slavecommand.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-181
Creator: Brian Warner <warner at monolith.lothar.com>
try to make test_slavecommand.Shell.testShellZ not fail on win32
* buildbot/test/test_slavecommand.py (Shell.testShellZ): add a
second win32 error message
Index: test_slavecommand.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_slavecommand.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- test_slavecommand.py 12 May 2005 20:09:26 -0000 1.13
+++ test_slavecommand.py 16 May 2005 08:50:23 -0000 1.14
@@ -181,7 +181,9 @@
got = self.getfile('stdout') + self.getfile('stderr')
self.failUnless(re.search(r'no such file', got, re.I) # unix
or re.search(r'cannot find the path specified',
- got, re.I), # win32
+ got, re.I) # win32
+ or re.search(r'is not recognized as',
+ got, re.I), # other win32
"bogus command didn't create the expected error "
"message, got '%s'" % got
)
More information about the Commits
mailing list