Files
packages/net/https-dns-proxy/test-version.sh
T
Josef Schlehofer d7978609ec tree-wide: rename version check test.sh to test-version.sh
In actions-shared-workflows the version is now checked in
test-version.sh, while test.sh is left for the generic tests.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 7cb0c183a9)
2026-10-04 09:45:32 +02:00

4 lines
81 B
Bash

#!/bin/sh
/etc/init.d/"$1" version 2>&1 | grep "$2" && "$1" -V 2>&1 | grep "$2"