blob: 3e43a173ff35fdba78a744458583f51e32d4497e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
[ "$1" = python3-pyroute2 ] || exit 0
python3 - << 'EOF'
from pyroute2 import IPRoute, NDB
from pyroute2.netlink import nlmsg
# Verify key classes are importable
assert callable(IPRoute)
assert callable(NDB)
assert issubclass(nlmsg, object)
print("python3-pyroute2 OK")
EOF
|