Open ColinIanKing opened 10 months ago
confinement: devmode
could be defined in snapcraft.yaml. This would force the user to install with --devmode.
Why would you write the message concerning devmode only for non-root users?
Commit ffc2469b4ecf ("snapcraft: specify devmode confinement for fwts snap") obsoletes this merge request. Please, close it.
…message
BugLink: https://bugs.launchpad.net/bugs/2045910
Add a naïve check to see if fwts is running inside a snap by checking for the $SNAP environment variable being set. Add a --devnode help error message to help user understand why tests are failing.