aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-certifi/test.sh
blob: b2802165b33938d7bb303eb567ade17e85cf1963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

case "$1" in
	*-src)
		;;
	python3-certifi)
		BUNDLE=$(python3 -m certifi) || {
			echo "Failed to run the certfi module script.  Exit status=$?." >&2
			echo "Output='$BUNDLE'" >&2
			exit 1
		}
		ls -l "$BUNDLE"
		;;
	*)
		echo "Unexpected package '$1'" >&2
		exit 1
		;;
esac