From 069d8e86c1781cb2b39fd19627b8ffc8e2ee7a69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herv=C3=A9=20Beraud?= Date: Tue, 12 Feb 2019 23:47:25 +0100 Subject: [PATCH] apparmor: Improve testing on apparmor python script MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Compare command output to already existing container-rules file Signed-off-by: Hervé Beraud --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3754ab6d5..2a320dec0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,8 +27,9 @@ script: - ../configure --enable-tests --with-distro=unknown - make -j4 - make DESTDIR=$TRAVIS_BUILD_DIR/install install - - cd .. - - ./config/apparmor/lxc-generate-aa-rules.py config/apparmor/container-rules.base + - cd ../config/apparmor + - ./lxc-generate-aa-rules.py container-rules.base > /tmp/output + - diff /tmp/output container-rules notifications: email: -- 2.47.2