[asterisk-commits] pabelanger: testsuite/asterisk/trunk r848 - /asterisk/trunk/tests/pbx/call-fi...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 17 09:06:08 CST 2010


Author: pabelanger
Date: Wed Nov 17 09:06:04 2010
New Revision: 848

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=848
Log:
Make test compatible with CentOS

Modified:
    asterisk/trunk/tests/pbx/call-files/run-test

Modified: asterisk/trunk/tests/pbx/call-files/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/pbx/call-files/run-test?view=diff&rev=848&r1=847&r2=848
==============================================================================
--- asterisk/trunk/tests/pbx/call-files/run-test (original)
+++ asterisk/trunk/tests/pbx/call-files/run-test Wed Nov 17 09:06:04 2010
@@ -103,10 +103,16 @@
         self.stop_asterisk()
 
         print "Test 1 (Call File w/ Application) ... ",
-        print "Passed" if self.results[0] else "Failed"
+        if self.results[0]:
+            print "Passed"
+        else:
+            print "Failed"
+
         print "Test 2 (Call File w/ Extension)   ... ",
-        print "Passed" if self.results[1] else "Failed"
-
+        if self.results[1]:
+            print "Passed"
+        else:
+            print "Failed"
 
 def main(argv=None):
     if argv is None:




More information about the asterisk-commits mailing list