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

# shellcheck shell=busybox

# The jsonpath_ng command-line tool takes a required expression argument and
# has no version flag, so the generic version check cannot detect the version
# from it. The version is covered by the import check in test.sh instead.
case "$PKG_NAME" in
python3-jsonpath-ng | python3-jsonpath-ng-src)
	exit 0
	;;
*)
	echo "Untested package: $PKG_NAME" >&2
	exit 1
	;;
esac