take into account pool features and supported options (fixes regressions). also automaticly enable resume if its supported

This commit is contained in:
Edwin Eefting
2020-05-17 21:49:58 +02:00
parent 4dc4bdbba5
commit 3bc37d143c
3 changed files with 110 additions and 21 deletions

View File

@ -1,12 +1,13 @@
#!/bin/bash
if [ "$USER" != "root" ]; then
echo "Need root to do proper zfs testing"
exit 1
fi
#reactivate python environment, if any (usefull in Travis)
source $VIRTUAL_ENV/bin/activate || true
[ "$VIRTUAL_ENV" ] && source $VIRTUAL_ENV/bin/activate
# test needs ssh access to localhost for testing
if ! [ -e /root/.ssh/id_rsa ]; then