[Bug 1168321] Re: test_build.TestClickBuilder permission checks fail when umask isn't 0022

Daniel Holbach daniel.holbach at ubuntu.com
Thu Aug 22 13:42:08 UTC 2013


This should be fixed in click 0.3.1 already. Please reopen if it's still
an issue.

** Changed in: click (Ubuntu)
       Status: Triaged => Fix Released

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

Title:
  test_build.TestClickBuilder permission checks fail when umask isn't
  0022

Status in “click” package in Ubuntu:
  Fix Released

Bug description:
  Hi,

  FAIL: test_build (clickpackage.tests.test_build.TestClickBuilder)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./clickpackage/tests/test_build.py", line 109, in test_build
      self.assertRegex(contents, r"^drwxr-xr-x root/root         0 .* \./\n")
  AssertionError: Regex didn't match: '^drwxr-xr-x root/root         0 .* \\./\\n' not found in 'drwxrwxr-x root/root         0 2013-04-12 11:41 ./\ndrwxrwxr-x root/root         0 2013-04-12 11:41 ./bin/\n-rw-rw-r-- root/root        14 2013-04-12 11:41 ./bin/foo\n-rw-rw-r-- root/root        15 2013-04-12 11:41 ./toplevel\n-rw-rw-r-- root/root       135 2013-04-12 11:41 ./metadata.json\n'

  when running tests with 002 (0002) as umask.

  We could set proper permissions in the testsuite, but there might be
  cases where we want to force permission while creating click packages,
  e.g. for the manifest.

  Cheers,

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




More information about the foundations-bugs mailing list