[libvirt] [PATCH] tests: Make check-file-access.pl accept files through argv

2019-12-04 Thread Michal Privoznik
The script needs two files to open: $(builddir)/test_file_access.txt, and $(srcdir)/file_access_whitelist.txt. However, the script is opening the files from the $CWD which won't work for a VPATH build. Make the script accept paths to the files through @ARGV and tune the Makefile.am to pass th

Re: [libvirt] [PATCH] tests: Make check-file-access.pl accept files through argv

2019-12-04 Thread Daniel P . Berrangé
On Wed, Dec 04, 2019 at 03:01:31PM +0100, Michal Privoznik wrote: > The script needs two files to open: > > $(builddir)/test_file_access.txt, and > $(srcdir)/file_access_whitelist.txt. > > However, the script is opening the files from the $CWD which > won't work for a VPATH build. Make the sc