[asterisk-commits] mjordan: testsuite/asterisk/trunk r3154 - /asterisk/trunk/lib/python/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 26 17:14:15 CDT 2012


Author: mjordan
Date: Mon Mar 26 17:14:11 2012
New Revision: 3154

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3154
Log:
Add astdb.sqlite3 to the blacklist of things not to hard-link

We already don't link the astdb (berkley db) on each test run.  This
does the same for astdb.sqlite3 - which means some tests that require
a fresh Asterisk database to be present on each test run will actually
work.

Modified:
    asterisk/trunk/lib/python/asterisk/asterisk.py

Modified: asterisk/trunk/lib/python/asterisk/asterisk.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/asterisk.py?view=diff&rev=3154&r1=3153&r2=3154
==============================================================================
--- asterisk/trunk/lib/python/asterisk/asterisk.py (original)
+++ asterisk/trunk/lib/python/asterisk/asterisk.py Mon Mar 26 17:14:11 2012
@@ -661,7 +661,7 @@
         dirs_only = [ "astrundir", "astlogdir", "astspooldir" ]
         if ast_dir_name in dirs_only:
             return
-        blacklist = [ "astdb" ]
+        blacklist = [ "astdb", "astdb.sqlite3" ]
         for dirname, dirnames, filenames in os.walk(ast_dir_path):
             for filename in filenames:
                 target = "%s/%s" % (self.base, os.path.join(ast_dir_path,




More information about the asterisk-commits mailing list