summaryrefslogtreecommitdiffstats
path: root/net/frr/test-version.sh
blob: aee64f1dc586ee02722936b64d88e53c59cb639e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh

# shellcheck shell=busybox

# frr-pythontools ships no binary carrying FRR_VERSION; test.sh covers
# the version probes that do work.
case "$PKG_NAME" in
frr|\
frr-watchfrr|\
frr-zebra|\
frr-pythontools|\
frr-babeld|\
frr-bfdd|\
frr-bgpd|\
frr-eigrpd|\
frr-fabricd|\
frr-isisd|\
frr-ldpd|\
frr-nhrpd|\
frr-ospfd|\
frr-ospf6d|\
frr-pathd|\
frr-pbrd|\
frr-pimd|\
frr-pim6d|\
frr-ripd|\
frr-ripngd|\
frr-staticd|\
frr-vrrpd)
	exit 0
	;;
*)
	echo "Untested package: $PKG_NAME" >&2
	exit 1
	;;
esac