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

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

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2017 06:48PM UTC
Files 7
Run time 1s
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

27 Oct 2017 06:34PM UTC coverage: 62.118%. Remained the same
1889.1

push

travis-ci

Ichimonji10
Fix how raw command is executed, for MtimeTestCase

Bash interprets commands in the following order:

1. Lexical analysis and parsing
2. Macro expansion
3. Command execution

This has some interesting implications. Let's say the following files
exist:

* `/root/bar`
* `/root/foo`

If root executes `ls /root/*`, then the following will be printed:

    bar  foo

But if a regular user executes that same command, it will fail, with an
error stating that `/root/*` doesn't exist. This is because regular
users can't see those files, so the star isn't expanded during the macro
expansion step.

One way to bring some consistency to this situation is to execute a
command like `bash -c 'ls /root/*'`. Use this strategy to fix a failure
in `MtimeTestCase`.

528 of 850 relevant lines covered (62.12%)

0.62 hits per line

Source Files on job 1889.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1889
  • Travis Job 1889.1
  • 8537b45e on github
  • Prev Job for on master (#1888.2)
  • Next Job for on master (#1896.3)
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

© 2025 Coveralls, Inc