clearly show versions

This commit is contained in:
Edwin Eefting 2020-05-18 16:59:07 +02:00
parent c5f1a87c40
commit ee4fade2e4

View File

@ -6,6 +6,13 @@ if [ "$USER" != "root" ]; then
exit 1
fi
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 "####################################################"
#reactivate python environment, if any (usefull in Travis)
[ "$VIRTUAL_ENV" ] && source $VIRTUAL_ENV/bin/activate