Add gvfs-testbed so that we can run the Drive tests
Submitted by Martin Pitt
Assigned to gvf..@..e.bugs
Link to original bug (#691336)
Description
tests/gvfs-test has tests to check the udisks2 backend; these need the scsi_debug kernel module and running some commands as root, such as injecting a temporary udev rule for working around some scsi_debug limitations and running udisksd under a mock polkit daemon. These are the remaining tests which cannot be run as normal user, and thus currently are skipped when running "make check".
In Ubuntu I have a "gvfs-testbed" script which sets up some unshared tmpdir overlays as a sandbox (to ensure that the tests don't destroy anything in the real system), set up a temporary user etc. This also enables the Sftp.test_unknown_host, as this depends on a particular client-side configuration and ssh does not allow using a temporary $HOME.
This bug tracks adding gvfs-testbed to upstream, and integrating it into "make installcheck".
Version: git master