[asterisk-commits] pabelanger: testsuite/asterisk/trunk r1746 - in /asterisk/trunk/tests/fax: ga...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 15 15:56:57 CDT 2011


Author: pabelanger
Date: Fri Jul 15 15:56:54 2011
New Revision: 1746

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

Modified:
    asterisk/trunk/tests/fax/gateway_mix1/run-test
    asterisk/trunk/tests/fax/gateway_mix2/run-test
    asterisk/trunk/tests/fax/gateway_mix3/run-test
    asterisk/trunk/tests/fax/gateway_mix4/run-test
    asterisk/trunk/tests/fax/gateway_native_t38/run-test
    asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test
    asterisk/trunk/tests/fax/gateway_no_t38/run-test
    asterisk/trunk/tests/fax/gateway_t38_g711/run-test
    asterisk/trunk/tests/fax/gateway_timeout1/run-test
    asterisk/trunk/tests/fax/gateway_timeout2/run-test

Modified: asterisk/trunk/tests/fax/gateway_mix1/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_mix1/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_mix1/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_mix1/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_mix2/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_mix2/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_mix2/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_mix2/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_mix3/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_mix3/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_mix3/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_mix3/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_mix4/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_mix4/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_mix4/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_mix4/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_native_t38/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_native_t38/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_native_t38/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_native_t38/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_native_t38_ced/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_no_t38/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_no_t38/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_no_t38/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_no_t38/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_t38_g711/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_t38_g711/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_t38_g711/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_t38_g711/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_timeout1/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_timeout1/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_timeout1/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_timeout1/run-test Fri Jul 15 15:56:54 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)

Modified: asterisk/trunk/tests/fax/gateway_timeout2/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/gateway_timeout2/run-test?view=diff&rev=1746&r1=1745&r2=1746
==============================================================================
--- asterisk/trunk/tests/fax/gateway_timeout2/run-test (original)
+++ asterisk/trunk/tests/fax/gateway_timeout2/run-test Fri Jul 15 15:56:54 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