From: neeraj pratap singh Date: Wed, 5 Mar 2025 14:21:11 +0000 (+0530) Subject: qa: add test case for remove xattr X-Git-Tag: v20.3.0~384^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=814f1136cac341891fab40a13f7a2a6fd0f2c853;p=ceph.git qa: add test case for remove xattr Fixes: https://tracker.ceph.com/issues/69274 Signed-off-by: Neeraj Pratap Singh --- diff --git a/qa/tasks/cephfs/test_cephfs_shell.py b/qa/tasks/cephfs/test_cephfs_shell.py index c13360c5eb49..3733d233c2e0 100644 --- a/qa/tasks/cephfs/test_cephfs_shell.py +++ b/qa/tasks/cephfs/test_cephfs_shell.py @@ -980,6 +980,13 @@ class TestXattr(TestCephFSShell): cmd=['getxattr', self.dir_name, input_val[0]]) self.negtest_cephfs_shell_cmd(cmd=['listxattr', self.dir_name]) + def test_remove_xattr(self): + self.test_set() + self.get_cephfs_shell_cmd_output( + ['removexattr', self.dir_name, 'user.key']) + self.negtest_cephfs_shell_cmd( + cmd=['getxattr', self.dir_name, 'user.key']) + class TestLS(TestCephFSShell): dir_name = 'test_dir'