Tests which try to mount filesystems using the host's mount should instead run a lightweight Linux system in a virtual machine, and attempt the mount there. This will ensure that sudo is not needed.
The only exception would be mount tests on macos, which should be executed in a virtual machine if executed locally and the user has supplied an installation CD or pre-installed disk image for macos, but should use the host's mount when executed on Travis (to avoid the need to supply a nested macos VM).
Tests which try to mount filesystems using the host's
mount
should instead run a lightweight Linux system in a virtual machine, and attempt themount
there. This will ensure thatsudo
is not needed.The only exception would be
mount
tests on macos, which should be executed in a virtual machine if executed locally and the user has supplied an installation CD or pre-installed disk image for macos, but should use the host'smount
when executed on Travis (to avoid the need to supply a nested macos VM).