~jamesodhunt/upstart/serialise-remaining-objects

Viewing all changes in revision 1486.

  • Committer: James Hunt
  • Date: 2013-06-05 10:57:05 UTC
  • Revision ID: james.hunt@ubuntu.com-20130605105705-0g765l9znlt6f4cj
* init/tests/data/upstart-1.8+apparmor.json: New test data file.
* init/tests/test_state.c:
  - test_upgrade(): Re-initialise lists and hashes as a convenience to
    the tests.
  - test_upstart_with_apparmor_upgrade(): New test to ensure Upstart can
    parse the current 1.8 format JSON with the addition of the AppArmor
    serialisation (but crucially *without* the full serialisation data
    (EventOperator, etc).
  - test_upstart_full_serialise_without_apparmor_upgrade(): New test to
    ensure Upstart can parse the current 1.8 format JSON with the
    addition of the full serialisation data (EventOperator, etc),
    but _without_ the AppArmor serialisation.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: