[libvirt] [PATCH v4 8/8] tests: Introduce check-file-access.pl

Michal Privoznik mprivozn at redhat.com
Sat May 14 10:09:43 UTC 2016


On 13.05.2016 18:29, Peter Krempa wrote:
> On Fri, May 13, 2016 at 14:32:09 +0200, Michal Privoznik wrote:
>> This script will check output generated by virtestmock against a
>> white list. All non matching records found are printed out. So
>> far, the white list is rather sparse at the moment.
>> This test should be ran only after all other tests finished, and
>> should cleanup the temporary file before their execution. Because
>> I'm unable to reflect these requirements in Makefile.am
>> correctly, I've introduced new target 'check-access' under which
>> this test is available.
>>
>> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>> ---
>>  Makefile.am                     |   3 ++
>>  tests/Makefile.am               |  13 +++++
>>  tests/check-file-access.pl      | 104 ++++++++++++++++++++++++++++++++++++++++
>>  tests/file_access_whitelist.txt |  23 +++++++++
>>  4 files changed, 143 insertions(+)
>>  create mode 100755 tests/check-file-access.pl
>>  create mode 100644 tests/file_access_whitelist.txt
> 
> ACK. And now we need to fix the findings :)
> 

Thank you; I've fixed all the issues you've raised and pushed this.

Michal




More information about the libvir-list mailing list