Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: add test case #4835

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/scripts/hypo/command_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,15 @@ def test_config(self):
state.config(capacity=1, enable_acl=True, encrypt_secret=True, force=False, inodes=81, trash_days=0, user='root', yes=True)
state.teardown()

def skip_test_clone_4832(self):
#SEE https://github.com/juicedata/juicefs/issues/4834
state = JuicefsCommandMachine()
folders_0 = state.init_folders()
state.chmod(entry=folders_0, mode=2427, user='root')
folders_1 = state.mkdir(mode=2931, parent=folders_0, subdir='vhjp', umask=369, user='root')
state.chmod(entry=folders_1, mode=1263, user='root')
state.clone(entry=folders_1, new_entry_name='tbim', parent=folders_0, preserve=False, user='user1')
state.teardown()

if __name__ == '__main__':
unittest.main()
9 changes: 9 additions & 0 deletions .github/scripts/hypo/fs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,14 @@ def test_clone_918(self):
v5 = state.clone_cp_file(entry=v3, new_entry_name='mbbb', parent=v1, preserve=True, user='root')
state.teardown()

def skip_test_xattr_4803(self):
# See: https://github.com/juicedata/juicefs/issues/4803
state = JuicefsMachine()
v1 = state.init_folders()
v19 = state.create_file(content=b'\xb5y', file_name='wums', mode='x', parent=v1, umask=16, user='root')
v29 = state.set_xattr(file=v19, flag=2, name='R', user='root', value=b'(9')
state.set_xattr(file=v19, flag=2, name='\x8ar', user='root', value=b'E$\xfe')
state.teardown()

if __name__ == '__main__':
unittest.main()
Loading