~jamesodhunt/upstart/bug-1221466+1222702

Viewing all changes in revision 1528.

  • Committer: James Hunt
  • Date: 2013-09-10 16:57:59 UTC
  • Revision ID: james.hunt@ubuntu.com-20130910165759-6i6i6kbm8551aatd
* extra/upstart-file-bridge.c:
  - create_handler(): Use original_file() for directories
    (LP: #1221466, #1222702).
  - watched_dir_new(): Additional assert.
  - watched_file_new():
    - Additional assert.
    - Store original directory path in file object to ensure reliable
      matching for directories.
* scripts/tests/test_pyupstart_session_init.py: Added file bridge tests
  for directory creation, modification and deletion.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: