On Tue, Jun 23, 2020 at 8:37 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > > Since commit e95fe9503816 ("Add tests for default_range glblub") we look > at $(SELINUXFS)/initial_contexts/kernel to determine the type of the > policy. However, this node is not provided by the fake selinuxfs created > by our CI scripts, leading to non-fatal errors like this: > > [...] > make[1]: Entering directory '/home/travis/build/WOnder93/selinux-testsuite/policy' > cat: /tmp/fake-selinuxfs/initial_contexts/kernel: No such file or directory > [...] > > Create that node and fill it with the ussual kernel context to silence > the errors. > > Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> Not objecting to fixing this but wondered if you had considered extending the .travis.yml to actually run the testsuite in a SELinux-enabled VM as per the selinux .travis.yml. Acked-by: Stephen Smalley <stephen.smalley.work@xxxxxxxxx>