330
330
2013-04-30 James Hunt <james.hunt@ubuntu.com>
332
* init/Makefile.am: Added test_main.
333
* init/tests/test_main.c: New test.
334
* init/tests/test_job_process.c: strcmp_compar() moved to test_util.c.
335
* util/tests/test_initctl.c: strcmp_compar() removed.
336
* init/xdg.c: Disable loading of jobs from SYSTEM_USERCONFDIR if
337
"UPSTART_NO_SYSTEM_USERCONFDIR" envvar set (required for testing).
338
* test/test_util.c: Added strcmp_compar() and get_session_file().
339
* util/tests/test_initctl.c: Use get_session_file().
341
2013-04-30 James Hunt <james.hunt@ubuntu.com>
343
* Makefile.am: Added 'test'.
344
* configure.ac: Added 'test/Makefile'.
345
* init/Makefile.am: Depend on test_util archive rather than source
347
* init/state.c: Added missing config.h include.
348
* util/Makefile.am: Depend on test_util archive rather than source
350
* util/tests/test_initctl.c: Moved common utility code to
351
test/test_util.c and replaced INITCTL_BINARY by get_initctl_binary().
352
* test/test_util.[ch]: New location for init/tests/test_util.[ch] to
353
allow all tests access to common functionality.
355
2013-04-30 James Hunt <james.hunt@ubuntu.com>
332
357
* init/job.c: job_serialise_all(): Really serialise all JobClasses,
333
358
* init/main.c: Add 'write-state-file' command-line option.
334
359
regardless of whether they have associated Jobs.
398
423
2013-04-02 James Hunt <james.hunt@ubuntu.com>
426
- main(): Allow Session Init to accept multiple --confdir values,
427
which replace all built-in values (behaviour required for testing).
428
- handle_confdir(): Operate on conf_dirs array rather than single
430
- conf_dir_setter(): Command-line setter function to add configuration
431
file directories to conf_dirs array.
432
* init/man/init.8: Update on --confdir behaviour.
400
433
* extra/man/file-event.7: Correct EVENT values in examples.
401
434
* extra/man/upstart-event-bridge.8:
402
435
- Corrected bridge name.