summaryrefslogtreecommitdiff
path: root/lang/python/python-userpath/test.sh
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-11-10 14:14:48 +0800
committerTianling Shen <cnsztl@gmail.com>2023-11-16 02:30:21 +0800
commit5b3e4a4b3f3be3f9db6aed6a977a5fd40ca6f203 (patch)
tree200432d12e1f6010e20032163e82e6e537a9dc1a /lang/python/python-userpath/test.sh
parentb354a7edbe35bf3cbaafb85edf74181ab7810202 (diff)
python-userpath: Add new package
The patches have been submitted upstream in https://github.com/ofek/userpath/pull/52 and https://github.com/ofek/userpath/pull/53. From the README: This is a tool for modifying a user's PATH. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-userpath/test.sh')
-rw-r--r--lang/python/python-userpath/test.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/python/python-userpath/test.sh b/lang/python/python-userpath/test.sh
new file mode 100644
index 000000000..e87d325ba
--- /dev/null
+++ b/lang/python/python-userpath/test.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ "$1" = python3-userpath ] || exit 0
+
+userpath --version | grep -Fx "userpath, version $PKG_VERSION"