ab3aca00393f34df2fbe4ed6807be57dd509fdb4
[deb_dpdk.git] / debian / tests / test-dkms
1 #!/bin/bash
2 set -eu
3
4 basedir=$(dirname "$0")
5 . "${basedir}"/check-dpdk-supported-arch.sh
6
7 # check that the dkms build fine (on dep install), load and unload
8 printf "\n\nChecking igb_uio\n"
9 modinfo igb_uio
10 modprobe igb_uio
11 rmmod igb_uio
12 echo "OK"
13
14 printf "\n\nChecking igb_uio\n"
15 modinfo rte_kni
16 modprobe rte_kni
17 rmmod rte_kni
18 echo "OK"