summaryrefslogtreecommitdiff
path: root/lang/python/python-certifi/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python-certifi/test.sh')
-rw-r--r--lang/python/python-certifi/test.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/python/python-certifi/test.sh b/lang/python/python-certifi/test.sh
new file mode 100644
index 000000000..b2802165b
--- /dev/null
+++ b/lang/python/python-certifi/test.sh
@@ -0,0 +1,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