Dmitrijs Ledkovs has proposed merging lp:~xnox/upstart/no-upstart-installed 
into lp:upstart.

Requested reviews:
  Upstart Reviewers (upstart-reviewers)

For more details, see:
https://code.launchpad.net/~xnox/upstart/no-upstart-installed/+merge/194950

When no initctl is available on the path (as it is in launchpad chroots),
test_initctl "ensure 'set-env' persists across session-init re-exec" test fails.

One way to fix this, is to prepend $(abs_builddir)/util to the PATH. Which is 
proposed here.

Another way would be to include/hardcode absolute path to initctl binary in the 
foo.conf job under test.
-- 
https://code.launchpad.net/~xnox/upstart/no-upstart-installed/+merge/194950
Your team Upstart Reviewers is requested to review the proposed merge of 
lp:~xnox/upstart/no-upstart-installed into lp:upstart.
=== modified file 'util/Makefile.am'
--- util/Makefile.am	2013-11-12 14:00:36 +0000
+++ util/Makefile.am	2013-11-12 22:02:02 +0000
@@ -192,7 +192,9 @@
 		UPSTART_SESSION \
 		UPSTART_INSTANCE \
 		UPSTART_EVENTS \
-		UPSTART_JOB;
+		UPSTART_JOB; \
+	export PATH=$(abs_builddir):$PATH;
+
 
 if ENABLE_TAP_OUTPUT
 LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to