lp:~jamesodhunt/upstart/environ-remove-tests
- Get this branch:
- bzr branch lp:~jamesodhunt/upstart/environ-remove-tests
Branch merges
- Dimitri John Ledkov: Approve
-
Diff: 549 lines (+490/-1)5 files modifiedChangeLog (+18/-0)
init/environ.c (+4/-0)
init/job_process.c (+1/-1)
init/tests/test_environ.c (+457/-0)
test/test_util_common.c (+10/-0)
Branch information
Recent revisions
- 1547. By James Hunt
-
* init/environ.c: Comment.
* init/job_process.c: Formatting.
* init/test_environ. c:
- test_add(): New test:
- "using bare word with no corresponding variable set in environment"
- test_remove(): New function ("the missing test") containing 8 new tests:
- "remove name=value pair with empty table"
- "remove bare name with empty table"
- "remove name=value from table of size 1"
- "remove bare name from table of size 1"
- "remove first name=value entry from table of size 2"
- "remove first bare name entry from table of size 2"
- "remove last name=value entry from table of size 2"
- "remove last bare name entry from table of size 2"
* test/test_util_common. c: get_initctl(): Added environment checks. - 1544. By James Hunt
-
* util/initctl.h: IS_INIT_EVENT(): Ignore session end event when
running in user mode (for 'check-config'). - 1543. By Scott James Remnant (Canonical)
-
Do not respawn jobs, that are being stopped and running pre-stop already.
- 1538. By James Hunt
-
* test/test_
util_common. c:
- set_upstart_session( ): Call get_initctl_ binary( ) rather than using
define value.
- get_initctl(): As above.
- get_initctl_binary( ): Check that file exists for parity with
get_upstart_ binary( ).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:upstart