View | Details | Raw Unified | Return to bug 32554 | Differences between
and this patch

Collapse All | Expand All

(-)ucs-test/univention/testing/utils.py (-2 / +2 lines)
 Lines 46-52    Link Here 
46
TEST_BASE = '/usr/share/ucs-test'
46
TEST_BASE = '/usr/share/ucs-test'
47
RE_SECTION = re.compile(r'^[0-9]{2}_(.+)$')
47
RE_SECTION = re.compile(r'^[0-9]{2}_(.+)$')
48
RE_PREFIX = re.compile(r'^[0-9]{2}(.+)')
48
RE_PREFIX = re.compile(r'^[0-9]{2}(.+)')
49
RE_SUFFIX = re.compile(r'\.lib$|\.sh$|\.py[co]?$|\.bak$|~$')
49
RE_SUFFIX = re.compile(r'(\.lib|\.sh|\.py[co]?|\.bak|\.png|\.xml|~)$')
50
LOG_BASE = '/var/log/univention/test_%d.log'
50
LOG_BASE = '/var/log/univention/test_%d.log'
51
S4CONNECTOR_INIT_SCRIPT = '/etc/init.d/univention-s4-connector'
51
S4CONNECTOR_INIT_SCRIPT = '/etc/init.d/univention-s4-connector'
52
52
 Lines 244-250    Link Here 
244
			if not RE_PREFIX.match(filename):
244
			if not RE_PREFIX.match(filename):
245
				logger.debug('Skipped file %s' % (fname,))
245
				logger.debug('Skipped file %s' % (fname,))
246
				continue
246
				continue
247
			if RE_SUFFIX.match(filename):
247
			if RE_SUFFIX.search(filename):
248
				logger.debug('Skipped file %s' % (fname,))
248
				logger.debug('Skipped file %s' % (fname,))
249
				continue
249
				continue
250
			logger.debug('Adding file %s' % (fname,))
250
			logger.debug('Adding file %s' % (fname,))

Return to bug 32554