~jdstrand/apparmor/apparmor-sdk

« back to all changes in this revision

Viewing changes to utils/test/test-aa-easyprof.py

  • Committer: jdstrand
  • Date: 2013-07-07 23:38:10 UTC
  • Revision ID: jamie@canonical.com-20130707233810-9e8fmyzimmnfwbtk
add a couple tests that have spaces in the binary and template var

Show diffs side-by-side

added added

removed removed

Lines of Context:
1781
1781
        m = '''{
1782
1782
  "security": {
1783
1783
   "com.example.foo": {
1784
 
    "binary": "/opt/com.example/foo/**",
 
1784
    "binary": "/opt/com.example/something with spaces/**",
1785
1785
    "template": "user-application",
1786
1786
    "template_variables": {
1787
1787
      "OK1": "foo",
1788
 
      "OK2": "com.example.foo"
 
1788
      "OK2": "com.example.foo",
 
1789
      "OK3": "something with spaces"
1789
1790
    }
1790
1791
   }
1791
1792
  }