Comment 3 for bug 1637181

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1637181] Re: 100% coverage for Xenial

On Thu, Oct 27, 2016 at 02:25:29PM -0000, Barry Warsaw wrote:
> Possible approaches:

> * Add $AUTOPKGTEST_NORMAL_USER to sudoers in the test script and add a breaks-testbed Restriction
> * Mock the sudo to add -A or -n
> * Set $SUDO_ASKPASS to something in the autopkgtests

 * skip wrapping the mkfs.ext4 invocation in 'sudo' when uid == 0