~jamesodhunt/upstart/handle-no-home-var

Viewing all changes in revision 1472.4.8.

  • Committer: James Hunt
  • Date: 2013-08-06 16:54:28 UTC
  • mto: This revision was merged to the branch mainline in revision 1518.
  • Revision ID: james.hunt@ubuntu.com-20130806165428-erp6u1kigm0znd1n
* README.tests: Explanation of the tests and how to run them.
* Makefile.am: Ensure README.tests gets distributed.
* scripts/tests/__init__.py: Empty file to allow python3's unittest
  module to auto-discover tests.
* scripts/Makefile.am: Ensure __init__.py gets distributed.
* scripts/tests/test_pyupstart_session_init.py: TestSessionUpstart.setUp():
  Created XDG_RUNTIME_DIR if necessary (for example if running as root).
* scripts/tests/test_pyupstart_system_init.py: TestSystemUpstart.setUp():
  Skip test if not running as root rather than asserting.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: