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:
parent
e0094f78a1
commit
c0fb8da595
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue