mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 16:37:36 +04:00
test.sh asserts vtysh, libfrr.so and the per-subpackage daemon binary, and cross-checks the release in "vtysh --help" against the package version. test-version.sh overrides the generic scan, which cannot work for frr-pythontools. Package/frr-zebra installed libmlag_pb.so* with INSTALL_BIN, which dereferences symlinks and so tripped the SONAME-symlink check; use $(CP) instead. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
37 lines
505 B
Bash
Executable File
37 lines
505 B
Bash
Executable File
#!/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
|