mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 20:57:37 +04:00
libtorrent-rasterbar: add test.sh
Check that the python bindings can be imported on the target and that
they report the package version.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit a05f401f40)
This commit is contained in:
1 file changed
+7
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
python3-libtorrent)
|
||||
python3 -c "import libtorrent; print(libtorrent.__version__)" | grep -F "$2"
|
||||
;;
|
||||
esac
|
||||
Reference in new issue
Block a user