~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to parser/tst/README

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This is the README for the SubDomain parser regression testsuite.
 
1
This is the README for the AppArmor parser regression testsuite.
2
2
 
3
3
Running the testsuite
4
4
---------------------
5
5
Running the tests is pretty easy, a simple 'make tests' should make it
6
 
go, assuming the subdomain parser and perl are installed. 
 
6
go, assuming the subdomain parser and perl are installed.
7
7
 
8
8
There is a user configuration file 'uservars.conf'. If you wish to test
9
9
against a different parser, or use a different set of profiles for the
19
19
 
20
20
It should be relatively easy to extend the suite with other testscripts,
21
21
as long as they're written using Test::Simple or can emulate the
22
 
Test::Harness protocol. To add a script, add it to the TESTS variable 
 
22
Test::Harness protocol. To add a script, add it to the TESTS variable
23
23
in the Makefile, and it will included in the tests to be run.
24
24
 
25
25
However, in many cases, it is not necessary to add an entire new
55
55
    profile. Values can either be PASS or FAIL; if no comment is found
56
56
    that matches this pattern, then the profile is assumed to have an
57
57
    expected parse result of PASS.
58
 
    
 
58
 
59
59
  - #=TODO -- marks the test as being for a future item to implement and
60
60
    thus are expected testsuite failures and hsould be ignored.
61
61
 
64
64
    loop.
65
65
 
66
66
Otherwise, the profile is passed on as-is to the subdomain parser.
67
 
 
68
 
$Id: README 66 2006-06-01 18:02:28Z steve-beattie $