summaryrefslogtreecommitdiff
path: root/test/gvfs-testbed
Commit message (Collapse)AuthorAgeFilesLines
* test: Remove deprecated --no-debug udisks argument from the scriptSebastien Bacher2022-12-141-1/+1
| | | | | The option has been deprecated in udisks for years and is just displaying a warning in the log
* test: Make /etc/init/ optionalAdam Conrad2018-02-091-1/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=793316
* gvfs-test: Drop dbus startup from gvfs-testbedMartin Pitt2013-06-201-1/+1
| | | | | | | | Drop the D-BUS launch in the gvfs-testbed wrapper, and always launch the test session D-BUS in gvfs-test. This makes both scripts easier and more consistent, and also makes the GPhoto test work under gvfs-testbed. This bumps the (optional) umockdev dependency to >= 0.2.9.
* gvfs-test: Do not assume that /run/udev/rules.d/ existsMartin Pitt2013-05-291-1/+2
| | | | | Create the directory if necessary. Recent udev versions do not create it automatically any more.
* Add gvfs-testbed to enable tests which need rootMartin Pitt2013-02-121-0/+172
The Drive test requires root privileges as it uses 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. Add 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. Integrate this into "make installcheck", so that this uses gvfs-testbed when being called as root. https://bugzilla.gnome.org/show_bug.cgi?id=691336