diff --git a/net/rpcbind/test-version.sh b/net/rpcbind/test-version.sh new file mode 100755 index 0000000000..be8e312740 --- /dev/null +++ b/net/rpcbind/test-version.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# shellcheck shell=busybox + +case "$PKG_NAME" in +rpcbind) + # The -v flag is implemented in version 1.2.8+ + # rpcbind -v 2>&1 | grep -F "$PKG_VERSION" + exit 0 + ;; + +*) + echo "Untested package: $PKG_NAME" >&2 + exit 1 + ;; +esac