Searched refs:file_contains_pattern (Results 1 – 2 of 2) sorted by relevance
207 def file_contains_pattern(file, pattern): function235 if file_contains_pattern(issue, 'Red Hat'):237 elif file_contains_pattern(issue, 'Fedora'):239 elif file_contains_pattern(issue, 'SUSE'):241 elif file_contains_pattern(issue, 'Ubuntu'):243 elif file_contains_pattern(issue, 'Debian'):
29 if not utils.file_contains_pattern('/proc/mounts', 'hugetlbfs'):