aboutsummaryrefslogtreecommitdiffstats
path: root/debian/tests/test-dkms
blob: ab3aca00393f34df2fbe4ed6807be57dd509fdb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -eu

basedir=$(dirname "$0")
. "${basedir}"/check-dpdk-supported-arch.sh

# check that the dkms build fine (on dep install), load and unload
printf "\n\nChecking igb_uio\n"
modinfo igb_uio
modprobe igb_uio
rmmod igb_uio
echo "OK"

printf "\n\nChecking igb_uio\n"
modinfo rte_kni
modprobe rte_kni
rmmod rte_kni
echo "OK"