From 9de449782f43207d337092520a4ab032d75be41a Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Thu, 6 Aug 2026 09:47:33 +0200 Subject: [PATCH] ahcpd: add test-version.sh for CI runtime tests ahcpd does not provide any option to report its version, so the generic version check of the CI runtime tests always fails for this package. Override it by checking that the binary starts and prints its usage instead. Signed-off-by: Josef Schlehofer Co-authored-by: Claude Fable 5 --- ahcpd/test-version.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ahcpd/test-version.sh diff --git a/ahcpd/test-version.sh b/ahcpd/test-version.sh new file mode 100644 index 0000000..130f48d --- /dev/null +++ b/ahcpd/test-version.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# shellcheck shell=busybox + +case "$PKG_NAME" in +ahcpd) + # ahcpd does not provide any option to report its version. + # Check that the binary starts and prints its usage instead. + ahcpd 2>&1 | grep -F "Syntax: ahcpd" + ;; + +*) + echo "Untested package: $PKG_NAME" >&2 + exit 1 + ;; +esac