syslog-ng/syslog-ng-3.3.6-tests-functional-sql-test.patch

13 lines
619 B
Diff
Raw Normal View History

2012-10-18 20:11:59 +00:00
diff -ruN syslog-ng-3.3.3/tests/functional/globals.py syslog-ng-3.3.3-modified/tests/functional/globals.py
--- syslog-ng-3.3.3/tests/functional/globals.py 2011-09-20 07:39:14.000000000 +0100
+++ syslog-ng-3.3.3-modified/tests/functional/globals.py 2012-01-16 01:39:24.206723249 +0000
@@ -7,7 +7,7 @@
return False
def has_module(module):
- avail_mods = os.popen('../../syslog-ng/syslog-ng -V | grep ^Available-Modules: ', 'r').read()
+ avail_mods = os.popen('../../syslog-ng/syslog-ng -V | grep ^Default-Modules: ', 'r').read()
if avail_mods.find(module) != -1:
return True
return False