[asterisk-commits] mnicholson: testsuite/asterisk/trunk r2770 - /asterisk/trunk/runtests.py

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 15 16:07:15 CST 2011


Author: mnicholson
Date: Tue Nov 15 16:07:11 2011
New Revision: 2770

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2770
Log:
fixed bug with printing gdb return code

Modified:
    asterisk/trunk/runtests.py

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=2770&r1=2769&r2=2770
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Tue Nov 15 16:07:11 2011
@@ -82,7 +82,7 @@
             try:
                 res = subprocess.call(cmd, shell = True)
                 if res != 0:
-                    print "error analyzing core dump; gdb exited with %d" (res)
+                    print "error analyzing core dump; gdb exited with %d" % (res)
                 """ Copy the backtrace over to the logs """
                 dest_dir = "./logs/%s" % self.test_name.lstrip("tests/")
             except OSError, ose:




More information about the asterisk-commits mailing list