-
Committer:
James Hunt
-
Date:
2013-01-28 15:10:22 UTC
-
Revision ID:
james.hunt@ubuntu.com-20130128151022-87qbr6it214c44nr
* util/Makefile.am: Define INITCTL_BINARY and UPSTART_BINARY to ensure
full path available to tests.
* util/tests/test_initctl.c:
- New macros:
- _TEST_STR_ARRAY_CONTAINS()
- TEST_STR_ARRAY_CONTAINS()
- TEST_STR_ARRAY_NOT_CONTAINS()
- _TEST_FILE_CONTAINS()
- TEST_FILE_CONTAINS()
- TEST_FILE_NOT_CONTAINS()
- get_initctl(): Function to replace original INITCTL_BINARY define.
- test_global_and_local_job_env(): New function to test initctl
'--global', '--job' and '--instance' options from within and without
a job.