[asterisk-commits] pabelanger: testsuite/asterisk/trunk r1741 - /asterisk/trunk/tests/fax/gatewa...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 15 14:20:09 CDT 2011


Author: pabelanger
Date: Fri Jul 15 14:20:05 2011
New Revision: 1741

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1741
Log:
Use astdatadir from Asterisk object.

Modified:
    asterisk/trunk/tests/fax/gateway_g711_t38/run-test

Modified: asterisk/trunk/tests/fax/gateway_g711_t38/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_g711_t38/run-test?view=diff&rev=1741&r1=1740&r2=1741
==============================================================================
--- asterisk/trunk/tests/fax/gateway_g711_t38/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_g711_t38/run-test Fri Jul 15 14:20:05 2011
@@ -29,7 +29,7 @@
       self.create_asterisk(2)
 
       # copy the tiff file we are going to send to a good known location
-      shutil.copy("%s/send.tiff" % (os.path.dirname(argv[0]),), "%s/var/lib/asterisk/" % (self.ast[0].base,))
+      shutil.copy("%s/send.tiff" % (os.path.dirname(argv[0]),), "%s%s" % (self.ast[0].base, self.ast[0].directories['astdatadir']))
 
    def ami_connect(self, ami):
       TestCase.ami_connect(self, ami)




More information about the asterisk-commits mailing list