From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 9 Jul 2020 11:07:29 -0600 Subject: [v2] test: Have test_fs work with non-functional guestmount tools In-Reply-To: <20200709134225.10412-1-trini@konsulko.com> References: <20200709134225.10412-1-trini@konsulko.com> Message-ID: <1440681c-519e-4d0c-9610-6e2e088f3f68@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7/9/20 7:42 AM, Tom Rini wrote: > Since 2011 Ubuntu has intentionally broken support for guestmount[1] by > default and requires sysadmin intervention to re-enable support. This > in turn exposed that in our tests if guestmount is available but fails > we do not fall back to trying to use sudo. Restructure our code to try > sudo if guestmount fails rather than only when it is not in our path. > Further, only note that we are using fuse on success of the call. > > [1]: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725 Reviewed-by: Stephen Warren