~jamesodhunt/upstart/fix-test_state-test-reprise

Viewing all changes in revision 1570.

  • Committer: James Hunt
  • Date: 2013-11-13 14:25:38 UTC
  • Revision ID: james.hunt@ubuntu.com-20131113142538-wwpm4urdskwd2w02
* init/tests/test_state.c: test_log_serialise():
  - Added extra checks on nih_io_watches.
  - Need to wait for logfile to be written to handle case where NIH
    encounters EAGAIN.
* test/test_util_common.h:
  - Removed unused macros:
    - TEST_FORCE_WATCH_UPDATE_TIMEOUT()
    - TEST_FORCE_WATCH_UPDATE_TIMEOUT_SECS()
  - Added TIMED_BLOCK() macro.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: