Blame gfal2-util-disable-mkparent.patch
|
Alejandro Alvarez Ayllon |
c6a7c00 |
diff --git a/test/functional/test_copy.py b/test/functional/test_copy.py
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
index b387dc2..56130a2 100644
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
--- a/test/functional/test_copy.py
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
+++ b/test/functional/test_copy.py
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
@@ -100,18 +100,5 @@ class UtilCopyTest(TestBase):
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
self.assertFalse(os.path.isfile(dst_path))
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
self.assertTrue(ret > 0)
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- def test_copy_parent_mkdir(self):
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- self.assertTrue(os.path.isfile(self.ffname1))
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- dst_path = '/tmp/make/parent'
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- self.assertFalse(os.path.isfile(dst_path))
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
-
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- (ret, out, err) = utils.run_command('gfal-copy', '-p file://' + self.ffname1 + ' file://' + dst_path)
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
-
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- self.assertTrue(os.path.isfile(dst_path))
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- self.assertTrue(ret == 0)
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
-
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- os.unlink(dst_path)
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
- os.rmdir('/tmp/make/')
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
-
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
if __name__ == '__main__':
|
|
Alejandro Alvarez Ayllon |
c6a7c00 |
unittest.main()
|