~michihenning/apparmor-easyprof-ubuntu/new-thumbnailer-methods

« back to all changes in this revision

Viewing changes to debian/tests/installed-policy-groups

  • Committer: Jamie Strandboge
  • Date: 2015-10-26 21:07:42 UTC
  • Revision ID: jamie@ubuntu.com-20151026210742-7508hg0uyhtuw68h
Tags: 16.04.1
* create policy version 16.04 for xenial
* adjust autopkgtests for policy version 15.10
* ubuntu/ubuntu-sdk, ubuntu/webview: allow /dev/shm in addition to /run/shm
  (LP: #1508054)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
expected_policy_groups_12="accounts audio calendar camera connectivity contacts content_exchange content_exchange_source debug history keep-display-on location microphone music_files music_files_read networking picture_files picture_files_read push-notification-client sensors usermetrics video video_files video_files_read webview"
18
18
expected_policy_groups_13="accounts audio calendar camera connectivity contacts content_exchange content_exchange_source debug history in-app-purchases keep-display-on location microphone music_files music_files_read networking picture_files picture_files_read push-notification-client sensors usermetrics video video_files video_files_read webview"
19
19
expected_policy_groups_1510="$expected_policy_groups_13" # no new groups over 1.3
 
20
expected_policy_groups_1604="$expected_policy_groups_1510" # no new groups over 15.10
20
21
 
21
 
for v in 1.0 1.1 1.2 1.3 15.10 ; do
 
22
for v in 1.0 1.1 1.2 1.3 15.10 16.04 ; do
22
23
    expected_groups="$expected_policy_groups_10"
23
24
    if [ "$v" = "1.1" ]; then
24
25
        expected_groups="$expected_policy_groups_11"
28
29
        expected_groups="$expected_policy_groups_13"
29
30
    elif [ "$v" = "15.10" ]; then
30
31
        expected_groups="$expected_policy_groups_1510"
 
32
    elif [ "$v" = "16.04" ]; then
 
33
        expected_groups="$expected_policy_groups_1604"
31
34
    fi
32
35
    tmp=`aa-easyprof --list-policy-groups --policy-vendor=ubuntu --policy-version=$v`
33
36
    for p in $expected_groups ; do