snaps tests assume ubuntu user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Low
|
Leo Arias |
Bug Description
Trying to run the snaps tests locally results in an error as it assumes the user is named `ubuntu`. For example:
$ ./runtests.sh snaps --filter hooks
<snip>
===
ERROR: demos_tests.
---
Traceback (most recent call last):
File "/home/
File "/home/
File "/home/
File "/usr/lib/
File "/usr/lib/
with open(dst, 'wb') as fdst:
PermissionE
It'd be great if this could be made a little more flexible.
Changed in snapcraft: | |
status: | New → Triaged |
tags: | added: tests |
tags: | added: bitesize |
Changed in snapcraft: | |
importance: | Undecided → Low |
assignee: | nobody → Leo Arias (elopio) |
status: | Triaged → In Progress |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.26 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/snapcore/ snapcraft/ pull/1068