Explorar o código

fix xattr test race condition, fixes #2047

Thomas Waldmann %!s(int64=8) %!d(string=hai) anos
pai
achega
c0fb8da595
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      borg/testsuite/xattr.py

+ 1 - 1
borg/testsuite/xattr.py

@@ -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):