• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PulpQE / pulp-smash / 612 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 19 May 2016 05:02PM UTC
Files 6
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 May 2016 04:41PM UTC coverage: 70.276%. Remained the same
612.1

push

travis-ci

Ichimonji10
Fix permissions in directory export tests

Consider this series of commands:

    d="$(mktemp --directory)"
    setfacl -m user:apache:rwx "${d}"  # let apache user rwx in dir
    sudo -u apache install -D /dev/null "${d}/foo/bar"
    sha256sum "${d}/foo/bar"

In this scenario, `${d}/foo/` is owned by apache, which means that the
current user doesn't have permissions necessary to read `${d}/foo/bar`.

A similar issue is encountered by
`ExportDistributorTestCase.test_export_to_dir`. This test creates a
directory on the target Pulp server and asks Pulp to export a repository
to this directory. The "apache" user writes files into this directory,
meaning that the user executing this test may not have permissions
necessary for manipulating the exported files.

Fix this issue.

As an aside, fixing this issue *and* removing the logic related to Pulp
issue 1928, as added by f06d5fcde, causes
`test_export_to_web` to start failing again, indicating that Pulp issue
1928 is valid.

357 of 508 relevant lines covered (70.28%)

0.7 hits per line

Source Files on job 612.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 612
  • Travis Job 612.1
  • 915ba1ce on github
  • Prev Job for on master (#590.1)
  • Next Job for on master (#615.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc