[svn-commits] pabelanger: branch pabelanger/SWP-2712 r1161 - /asterisk/team/pabelanger/SWP-...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Dec 14 09:50:46 CST 2010
Author: pabelanger
Date: Tue Dec 14 09:50:42 2010
New Revision: 1161
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1161
Log:
NOTE TO SELF: $ svn commit from top-level directory.
Add missing soundcard check
Modified:
asterisk/team/pabelanger/SWP-2712/runtests.py
Modified: asterisk/team/pabelanger/SWP-2712/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/SWP-2712/runtests.py?view=diff&rev=1161&r1=1160&r2=1161
==============================================================================
--- asterisk/team/pabelanger/SWP-2712/runtests.py (original)
+++ asterisk/team/pabelanger/SWP-2712/runtests.py Tue Dec 14 09:50:42 2010
@@ -52,6 +52,13 @@
else:
print "Unknown dependency type specified."
+ def depend_soundcard(self):
+ try:
+ f = open("/dev/dsp", "r")
+ f.close()
+ return True
+ except:
+ return False
def depend_ipv6(self):
try:
s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
More information about the svn-commits
mailing list