Ran
|
Jobs
4
|
Files
6
|
Run time
52s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
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%)
2.81 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 612.1 | 6 |
70.28 |
Travis Job 612.1 | |
2 | 612.2 | 6 |
70.28 |
Travis Job 612.2 | |
3 | 612.3 | 6 |
70.28 |
Travis Job 612.3 | |
4 | 612.4 | 6 |
70.28 |
Travis Job 612.4 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|