Commit 069d8e86 by Hervé Beraud

apparmor: Improve testing on apparmor python script

Compare command output to already existing container-rules file Signed-off-by: 's avatarHervé Beraud <hberaud@redhat.com>
parent 1530ced3
...@@ -27,8 +27,9 @@ script: ...@@ -27,8 +27,9 @@ script:
- ../configure --enable-tests --with-distro=unknown - ../configure --enable-tests --with-distro=unknown
- make -j4 - make -j4
- make DESTDIR=$TRAVIS_BUILD_DIR/install install - make DESTDIR=$TRAVIS_BUILD_DIR/install install
- cd .. - cd ../config/apparmor
- ./config/apparmor/lxc-generate-aa-rules.py config/apparmor/container-rules.base - ./lxc-generate-aa-rules.py container-rules.base > /tmp/output
- diff /tmp/output container-rules
notifications: notifications:
email: email:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment