summaryrefslogtreecommitdiffstats
path: root/lang/python/python-rsa/test-version.sh
blob: 082d25b2d597cb86eb5ddd74ce689b3f5e532ac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# shellcheck shell=busybox

# The pyrsa-* command-line tools use argparse and do not print the package
# version with any of the flags probed by the generic version check, so it
# cannot be detected from the executables. Functionality is covered by test.sh.
case "$PKG_NAME" in
python3-rsa | python3-rsa-src)
	exit 0
	;;
*)
	echo "Untested package: $PKG_NAME" >&2
	exit 1
	;;
esac