zfs-verify stuff

This commit is contained in:
Edwin Eefting
2022-01-18 20:54:19 +01:00
parent 6791bc4abd
commit 86d504722c
5 changed files with 85 additions and 1 deletions

View File

@ -62,6 +62,7 @@ def shelltest(cmd):
"""execute and print result as nice copypastable string for unit tests (adds extra newlines on top/bottom)"""
ret=(subprocess.check_output("SUDO_ASKPASS=./password.sh sudo -A "+cmd , shell=True).decode('utf-8'))
print("######### result of: {}".format(cmd))
print(ret)
print("#########")