def test_replace(self):
subprocess.check_call(
- ['arv-mount', '--subtype', 'test', '--replace',
+ ['./bin/arv-mount', '--subtype', 'test', '--replace',
self.mnt])
subprocess.check_call(
- ['arv-mount', '--subtype', 'test', '--replace',
+ ['./bin/arv-mount', '--subtype', 'test', '--replace',
'--unmount-timeout', '10',
self.mnt])
subprocess.check_call(
- ['arv-mount', '--subtype', 'test', '--replace',
+ ['./bin/arv-mount', '--subtype', 'test', '--replace',
'--unmount-timeout', '10',
self.mnt,
'--exec', 'true'])
mnt = self.tmp+'/'+d
mounts.append(mnt)
subprocess.check_call(
- ['arv-mount', '--subtype', 'test', mnt])
+ ['./bin/arv-mount', '--subtype', 'test', mnt])
# Wait for mounts to attach
deadline = time.time() + 10
self.assertLess(time.time(), deadline)
self.assertEqual(mounts, self._mounted(mounts))
- subprocess.check_call(['arv-mount', '--unmount', self.tmp])
+ subprocess.check_call(['./bin/arv-mount', '--unmount', self.tmp])
self.assertEqual(mounts, self._mounted(mounts))
- subprocess.check_call(['arv-mount', '--unmount-all', self.tmp])
+ subprocess.check_call(['./bin/arv-mount', '--unmount-all', self.tmp])
self.assertEqual([], self._mounted(mounts))