[Bug 926473] Re: upstart test suite assumes no inherited fds

Launchpad Bug Tracker 926473 at bugs.launchpad.net
Wed Feb 15 04:48:20 UTC 2012


** Branch linked: lp:ubuntu/upstart

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/926473

Title:
  upstart test suite assumes no inherited fds

Status in “upstart” package in Ubuntu:
  Fix Committed

Bug description:
  When building under bzr-builddeb, upstart's test suite fails
  consistently:

  ...ensure sane fds with no console, no script
  BAD: fd 3 is unexpected valid
          at tests/test_job_process.c:1164 (test_run).
  /bin/bash: line 5: 19389 Aborted                 (core dumped) ${dir}$tst
  FAIL: test_job_process

  The test suite seems to assume no file descriptors are open when the
  test starts, but that seems to not be the case here.

  The test passes consistently when not running under bzr bd.

  The test suite should close its file descriptors before running the
  test, to ensure a clean environment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/926473/+subscriptions




More information about the foundations-bugs mailing list