test suite assumes /etc/lsb-release will exist
Bug #1007544 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Clint Byrum | ||
0.6 |
Fix Released
|
Medium
|
Martin Packman |
Bug Description
In order to test "external" symlinks, the test suite requires that /etc/lsb-release exists.
A randomly named tempfile is all that is actually needed.
This causes the test suite to fail on Debian, which does not have this file.
Will attach a patch to fix this issue.
Related branches
lp://staging/~clint-fewbar/pyjuju/no-lsb-release
- Juju Engineering: Pending requested
-
Diff: 30 lines (+10/-8)1 file modifiedjuju/charm/tests/test_directory.py (+10/-8)
lp://staging/~gz/pyjuju/0.6_test_lsbrelease_backport
- Martin Packman (community): Approve
-
Diff: 47 lines (+7/-6)1 file modifiedjuju/charm/tests/test_directory.py (+7/-6)
Changed in juju: | |
status: | New → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
importance: | Undecided → Medium |
Changed in juju: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.7 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.