summaryrefslogtreecommitdiffstats
path: root/net/nfs-kernel-server/test-version.sh
blob: 7b131d40809a740a643421c7ee2d539396304514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# shellcheck shell=busybox

# The NFS utilities (sm-notify, rpc.nfsd, rpc.mountd, etc.) do not reliably
# report the package version in a way the generic CI probe can detect, and
# several require kernel/netlink support unavailable in the sandbox.
# Functionality is exercised by the companion test.sh.

case "$PKG_NAME" in
nfs-kernel-server|\
nfs-kernel-server-v4|\
nfs-kernel-server-utils|\
nfs-utils|\
nfs-utils-v4)
	exit 0
	;;

*)
	echo "Untested package: $PKG_NAME" >&2
	exit 1
	;;
esac