Ran
|
Files
60
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Fix use of symlinked needle dirs from outside of basedir This fixes a problem introduced with 2b8ac3c85. The check for the needledir has been moved where an external file path is used coming from a REST request where additional care should be taken to ensure a valid and secure directory. For a "local" definition of the needledir the check was removed changing the behaviour back to the old way supporting symlinked needle dirs, e.g. when /local/needles is symlinked into /var/lib/openqa/share/tests/... instead of being a real subdirectory. As proper test cases have been missing for the "new" feature a proper test for needle reading over URL requests has been created based on the needles created by the needle editor test and the disabled (skipped) test in 07-file.t. Fixes gh #667.
2899 of 4475 relevant lines covered (64.78%)
55.66 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|