Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed Apr 19, 2024
1 parent b9027f1 commit 76d51b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/hypo/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def diff(self, str1:str, str2:str):
@rule(
user = st_sudo_user
)
@precondition(lambda self: self.should_run('trash_list'))
def trash_list(self, user='root'):
result1 = self.cmd1.do_trash_list(user=user)
result2 = self.cmd2.do_trash_list(user=user)
Expand Down Expand Up @@ -241,6 +242,7 @@ def compact(self, entry, threads, user='root'):
yes = st.just(True),
user = st_sudo_user
)
@precondition(lambda self: self.should_run('config'))
def config(self, capacity, inodes, trash_days, enable_acl, encrypt_secret, force, yes, user='root'):
result1 = self.cmd1.do_config(capacity=capacity, inodes=inodes, trash_days=trash_days, enable_acl=enable_acl, encrypt_secret=encrypt_secret, force=force, yes=yes, user=user)
result2 = self.cmd2.do_config(capacity=capacity, inodes=inodes, trash_days=trash_days, enable_acl=enable_acl, encrypt_secret=encrypt_secret, force=force, yes=yes, user=user)
Expand Down

0 comments on commit 76d51b5

Please sign in to comment.