]> xenbits.xensource.com Git - libvirt.git/commit
tests: rewrite file access checker in Python
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 30 Aug 2019 12:22:54 +0000 (13:22 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 20 Dec 2019 14:23:39 +0000 (14:23 +0000)
commit06e6efe294f1db00b452214ee8e5975d8ae6ec42
tree147b280ff9554c2d832c18fefb433d3c0746a74f
parent6ca74054b95876a71bb23b46d666d91b97c56ad2
tests: rewrite file access checker in Python

As part of a goal to eliminate Perl from libvirt build tools,
rewrite the check-file-access.pl tool in Python.

This was a straight conversion, manually going line-by-line to
change the syntax from Perl to Python. Thus the overall structure
of the file and approach is the same.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Makefile.am
scripts/check-file-access.py [new file with mode: 0755]
tests/Makefile.am
tests/check-file-access.pl [deleted file]
tests/file_access_whitelist.txt