projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
11209: Test using ./bin/arv-mount from source dir.
[arvados.git]
/
services
/
fuse
/
tests
/
test_unmount.py
diff --git
a/services/fuse/tests/test_unmount.py
b/services/fuse/tests/test_unmount.py
index 0a2837e737cf626ebd44042e4a2148a18bdad3d6..972edaadc8baaf2bdd7cc5c2312473bc6adf81fd 100644
(file)
--- a/
services/fuse/tests/test_unmount.py
+++ b/
services/fuse/tests/test_unmount.py
@@
-17,14
+17,14
@@
class UnmountTest(IntegrationTest):
def test_replace(self):
subprocess.check_call(
def test_replace(self):
subprocess.check_call(
- ['arv-mount', '--subtype', 'test', '--replace',
+ ['
./bin/
arv-mount', '--subtype', 'test', '--replace',
self.mnt])
subprocess.check_call(
self.mnt])
subprocess.check_call(
- ['arv-mount', '--subtype', 'test', '--replace',
+ ['
./bin/
arv-mount', '--subtype', 'test', '--replace',
'--unmount-timeout', '10',
self.mnt])
subprocess.check_call(
'--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'])
'--unmount-timeout', '10',
self.mnt,
'--exec', 'true'])
@@
-46,7
+46,7
@@
class UnmountTest(IntegrationTest):
mnt = self.tmp+'/'+d
mounts.append(mnt)
subprocess.check_call(
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
# 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))
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))
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))
self.assertEqual([], self._mounted(mounts))