refactorred ZfsCheck.py for better sigpipe handling

This commit is contained in:
Edwin Eefting
2022-03-08 17:22:08 +01:00
parent 5d7d6f6a6c
commit 75161c1bd2
6 changed files with 274 additions and 197 deletions

View File

@ -18,6 +18,7 @@ if ! [ -e /root/.ssh/id_rsa ]; then
ssh -oStrictHostKeyChecking=no localhost true || exit 1
fi
umount /tmp/ZfsCheck*
coverage run --branch --source zfs_autobackup -m unittest discover -vvvvf $SCRIPTDIR $@ 2>&1
EXIT=$?