3 # Copyright (c) 2016 Red Hat
4 # Luke Hinds (lhinds@redhat.com)
5 # This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # 0.1: This script creates the needed local files into a tmp directory. Should
12 # '--clean' be passed, all files will be removed, post scan.
18 files = ['results.xml', 'report.html', 'syschar.xml']
21 directory_name = tempfile.mkdtemp()
24 os.system("touch %s/%s" % (directory_name, i))