Skip to content

Commit

Permalink
CI: revert multi client test from posix random test. (#4457)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored Mar 7, 2024
1 parent 849ccc3 commit bbe3957
Show file tree
Hide file tree
Showing 6 changed files with 379 additions and 341 deletions.
6 changes: 2 additions & 4 deletions .github/scripts/hypo/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,17 @@ def support_acl(path):
with open(file, 'r') as f:
config = json.load(f)
if config['Meta'].get('Args', '').find('--enable-acl') != -1:
# print(f"{path} has enabled ACL.")
return True
elif config['Format'].get('EnableACL', False):
return True
else:
# print(f"{path} does not have enabled ACL.")
return False
else:
mount_point = subprocess.check_output(["df", root]).decode("utf-8").splitlines()[-1].split()[0]
mount_options = subprocess.check_output(["sudo", "tune2fs", "-l", mount_point]).decode("utf-8")
if "acl" not in mount_options:
# print(f"{path} does not have enabled ACL.")
return False
else:
# print(f"{path} has enabled ACL.")
return True

def get_stat(path):
Expand Down
Loading

0 comments on commit bbe3957

Please sign in to comment.