tests: use setfacl to give $SUDO_USER read permissions on artifacts
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Apr 2021 15:47:50 +0000 (17:47 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Apr 2021 18:19:09 +0000 (20:19 +0200)
commit954c77c2510c0328fd98354a59f380945752c38c
tree09efeeddbac41ffd58709b2ff872162a064dc204
parent778139c6e45e6948f90f5aa7056f6a7a8bced1bc
tests: use setfacl to give $SUDO_USER read permissions on artifacts

We have to invoke the tests as superuser, and not being able to read
the journal as the invoking user is annoying. I don't think there are
any security considerations here, since the invoking user can already
put arbitrary code in the Makefile and test scripts which get executed
with root privileges.
test/test-functions