11209: Test using ./bin/arv-mount from source dir.
authorTom Clegg <tom@curoverse.com>
Tue, 28 Mar 2017 05:52:56 +0000 (01:52 -0400)
committerTom Clegg <tom@curoverse.com>
Tue, 28 Mar 2017 05:52:56 +0000 (01:52 -0400)
services/fuse/tests/test_unmount.py

index 0a2837e737cf626ebd44042e4a2148a18bdad3d6..972edaadc8baaf2bdd7cc5c2312473bc6adf81fd 100644 (file)
@@ -17,14 +17,14 @@ class UnmountTest(IntegrationTest):
 
     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'])
@@ -46,7 +46,7 @@ class UnmountTest(IntegrationTest):
             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
@@ -55,7 +55,7 @@ class UnmountTest(IntegrationTest):
             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))