From 2197552f2d53577723db90d0752a754594764cce Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@k1024.org>
Date: Tue, 24 Jul 2018 23:38:15 +0200
Subject: [PATCH] Further test suite fixes to symlink ops
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

I forgot about the deprecated ones…
---
 test/test_xattr.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/test_xattr.py b/test/test_xattr.py
index 3d8b3f2..7b14eec 100644
--- a/test/test_xattr.py
+++ b/test/test_xattr.py
@@ -110,7 +110,7 @@ class xattrTest(unittest.TestCase):
         self.checkList(xattr.listxattr(item, symlink), [])
         self.assertRaises(EnvironmentError, xattr.setxattr, item,
                           self.USER_ATTR, self.USER_VAL,
-                          XATTR_REPLACE)
+                          XATTR_REPLACE, symlink)
         try:
             xattr.setxattr(item, self.USER_ATTR, self.USER_VAL, 0, symlink)
         except IOError:
@@ -123,18 +123,18 @@ class xattrTest(unittest.TestCase):
                 return
             raise
         self.assertRaises(EnvironmentError, xattr.setxattr, item,
-                          self.USER_ATTR, self.USER_VAL, XATTR_CREATE)
+                          self.USER_ATTR, self.USER_VAL, XATTR_CREATE, symlink)
         self.checkList(xattr.listxattr(item, symlink), [self.USER_ATTR])
         self.assertEqual(xattr.getxattr(item, self.USER_ATTR, symlink),
                          self.USER_VAL)
         self.checkTuples(xattr.get_all(item, nofollow=symlink),
                           [(self.USER_ATTR, self.USER_VAL)])
-        xattr.removexattr(item, self.USER_ATTR)
+        xattr.removexattr(item, self.USER_ATTR, symlink)
         self.checkList(xattr.listxattr(item, symlink), [])
         self.checkTuples(xattr.get_all(item, nofollow=symlink),
                          [])
         self.assertRaises(EnvironmentError, xattr.removexattr,
-                          item, self.USER_ATTR)
+                          item, self.USER_ATTR, symlink)
 
     def _checkListSetGet(self, item, symlink=False, use_ns=False):
         """check list, set, get operations against an item"""
-- 
2.39.5