Don't require sudo for any test #25

Open
opened 2018-07-29 17:24:00 +01:00 by SuzanneSoy · 0 comments
SuzanneSoy commented 2018-07-29 17:24:00 +01:00 (Migrated from github.com)

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 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).
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: suzanne.soy/os-test-framework#25
No description provided.