-
Committer:
Scott James Remnant
-
Date:
2007-06-10 20:43:52 UTC
-
Revision ID:
scott@netsplit.com-20070610204352-c169i60cm0esiqqs
* init/conf.c (conf_reload_path): In the case where we fail to map
the file into memory, we still need to purge all the items that
previously existed.
* init/tests/test_conf.c (test_source_reload): Rename to
test_source_reload_dir, so that we can keep this and the file
tests separate to make it easier to deal with.
(test_source_reload_dir): Add tests for physical and parse errors
when re-loading jobs with and without inotify, and for inotify-based
modification handling of jobs.