skip resume test if not supported in userspace

This commit is contained in:
Edwin Eefting
2020-07-08 18:29:02 +02:00
parent f2b284c407
commit d19cb2c842
4 changed files with 20 additions and 11 deletions

View File

@ -9,14 +9,6 @@ fi
#reactivate python environment, if any (usefull in Travis)
[ "$VIRTUAL_ENV" ] && source $VIRTUAL_ENV/bin/activate
echo "####################################################"
echo "##### Unit testing against"
echo "##### Python : `python --version 2>&1 |sed 's/.* //'`"
echo "##### ZFS userspace : `dpkg-query -W zfsutils-linux |cut -f2`"
echo "##### ZFS kernel : `modinfo zfs|grep ^version |sed 's/.* //'` "
echo "####################################################"
# test needs ssh access to localhost for testing
if ! [ -e /root/.ssh/id_rsa ]; then
ssh-keygen -t rsa -f /root/.ssh/id_rsa -P '' || exit 1