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:
Josef Schlehofer committed 2026-10-05 08:38:00 +02:00
1 parent 0db01e0e2b
commit 71bae164ea
1 file changed
+7
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
case "$1" in
python3-libtorrent)
python3 -c "import libtorrent; print(libtorrent.__version__)" | grep -F "$2"
;;
esac