Send a SIGSTOP to all gvfs-gdu-volume-monitor processes while the test suite is
running, to avoid nautilus windows popping up by the dozens, and causing "busy"
failures.
# start with a clean slate: zero out device
klass.zero_device()
+ # inhibit GNOME automounting/nautilus pop ups
+ subprocess.call(['killall', '-STOP', 'gvfs-gdu-volume-monitor'])
+
# start daemon
if logfile:
klass.daemon_log = open(logfile, 'w')
os.wait()
klass.daemon = None
+ # resume GNOME automounting/nautilus pop ups
+ subprocess.call(['killall', '-CONT', 'gvfs-gdu-volume-monitor'])
+
@classmethod
def sync(klass):
'''Wait until pending events finished processing.'''