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
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