[Branch ~upstart-devel/upstart/trunk] Rev 1490: * lib/Makefile.am: Added dependency on libtest_util_common.
noreply at launchpad.net
noreply at launchpad.net
Thu Jun 27 10:17:15 UTC 2013
------------------------------------------------------------
revno: 1490
committer: James Hunt <james.hunt at ubuntu.com>
branch nick: upstart
timestamp: Thu 2013-06-27 11:16:35 +0100
message:
* lib/Makefile.am: Added dependency on libtest_util_common.
* lib/tests/test_libupstart.c:
- Use test_util_common.
- test_libupstart():
- Start a private D-Bus server and Session Init to handle possibility
of building on systems not using Upstart as PID 1.
- main(): Disable tests if required environment not available (as done
for test_initctl).
* test/test_util_common.c:
- wait_for_upstart(): Pass pid of session init to pass to
set_upstart_session().
- set_upstart_session(): Now accepts a session init pid to allow
filtering of sessions and remove limitations of this function.
* test/test_util_common.h:
- REEXEC_UPSTART(): Updated for changed wait_for_upstart() parameter.
* util/tests/test_initctl.c:
- Moved in_chroot() and dbus_configured() to test_util_common.c.
modified:
ChangeLog
lib/Makefile.am
lib/tests/test_libupstart.c
test/test_util_common.c
test/test_util_common.h
util/tests/test_initctl.c
--
lp:upstart
https://code.launchpad.net/~upstart-devel/upstart/trunk
Your team Upstart Reviewers is subscribed to branch lp:upstart.
To unsubscribe from this branch go to https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revision-diff.txt
Type: text/x-diff
Size: 10640 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20130627/62aa3224/attachment-0001.diff>
More information about the upstart-devel
mailing list