1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-23 14:41:43 +00:00

fix xattr test race condition, fixes #2047

This commit is contained in:
Thomas Waldmann 2017-01-14 23:19:40 +01:00
parent e0094f78a1
commit c0fb8da595

View file

@ -11,7 +11,7 @@ class XattrTestCase(BaseTestCase):
def setUp(self):
self.tmpfile = tempfile.NamedTemporaryFile()
self.symlink = os.path.join(os.path.dirname(self.tmpfile.name), 'symlink')
self.symlink = self.tmpfile.name + '.symlink'
os.symlink(self.tmpfile.name, self.symlink)
def tearDown(self):