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:
- ../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:
......
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