Files
packages/utils/lcd4linux/test-version.sh
T
Josef Schlehofer 1f9861e16e lcd4linux: add version check override
The generic runtime test fails for both variants:

  lcd4linux-full: No executables in the package provided version 2019.07.19~0b83bb3a

lcd4linux -h prints the upstream version 0.11.0-SVN-1193. PKG_VERSION
is built from the date and hash of the git snapshot, and the binary
contains neither, so there is nothing to match.

The override skips the check for lcd4linux-custom and lcd4linux-full.

Tested in the CI test container (aarch64_generic, main) with the
snapshot packages. Both variants pass.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-04 15:25:05 +01:00

17 lines
310 B
Bash
Executable File

#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
lcd4linux-custom|lcd4linux-full)
# lcd4linux prints its own version 0.11.0-SVN-1193. PKG_VERSION is the
# date and hash of the git snapshot, which the binary does not contain.
exit 0
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac