lp:~vorlon/upstart/default-priority-not-always-zero
- Get this branch:
- bzr branch lp:~vorlon/upstart/default-priority-not-always-zero
Branch merges
- James Hunt: Approve
-
Diff: 93 lines (+20/-6)5 files modifiedChangeLog (+9/-0)
init/job_class.c (+3/-1)
init/job_class.h (+3/-3)
init/job_process.c (+2/-1)
init/tests/test_job_class.c (+3/-1)
Branch information
Recent revisions
- 1389. By Steve Langasek
-
instead of a getpriority/
setpriority shuffle, use a sentinel 'nice' value for
the default so we can distinguish between someone specifying a nice level of
0, and the nice level being unconfigured. This lets us do the right thing
in all cases, except when a non-root session has a non-zero nice level and
a job specifies a positive but lower nice level. - 1387. By Steve Langasek
-
instead of assuming a fixed value (0) as the default nice value for job
processes, use whatever the nice value of the current process is. This will
be important later for user sessions where an entire session may be started
with a higher nice value; and it fixes running the test suite as part of a
nice'd build. - 1386. By Steve Langasek
-
fix test which was accidentally relying on a variable persisting after
it's gone out of scope. - 1385. By Steve Langasek
-
init/Makefile.am: set TERM=xterm, so that tests which rely on TERM being
set in the environment don't give different results and gratuitously fail. - 1381. By James Hunt
-
* init/parse_job.c: stanza_kill(): Actually save parsed
value to avoid crash if kill signal given as a numeric
(LP: #1049820).
* init/tests/test_parse_ job.c: test_stanza_kill(): New test:
"with signal and single numeric argument".
* init/Makefile.am: test_job_process must now be linked to the
* 'util'
library for pty helper functionality.
* init/tests/test_job_ process. c:
- Compiler appeasement.
- Conditionally run tests in a pty for build environments such as
modern versions of sbuild(1) that do not provide a controlling
terminal (sbuild) (LP: #888910).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:upstart