[Buildbot-commits] buildbot/buildbot/test test_slavecommand.py,1.12,1.13

Brian Warner warner at users.sourceforge.net
Thu May 12 20:09:35 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25954/buildbot/test

Modified Files:
	test_slavecommand.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-158
Creator:  Brian Warner <warner at monolith.lothar.com>

improve error message in test_slavecommand.Shell.testShellZ

* buildbot/test/test_slavecommand.py (Shell.testShellZ): log a
better message on failure so I can figure out the win32 problem


Index: test_slavecommand.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_slavecommand.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- test_slavecommand.py	26 Apr 2005 18:45:53 -0000	1.12
+++ test_slavecommand.py	12 May 2005 20:09:26 -0000	1.13
@@ -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
+                        "bogus command didn't create the expected error "
+                        "message, got '%s'" % got
                         )
 
     # todo: interrupt(), kill process





More information about the Commits mailing list