aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-12-07 18:08:10 +0100
committerOliver Smith <osmith@sysmocom.de>2022-12-08 13:41:56 +0100
commit47c09e9a7288a19fda43d95cfe090bf3143724d9 (patch)
tree99b96a4f84257917fb6a084bc67ac2808c7dbfbf
parentd96413582f96bbd55eeb77be4111ce40154f42b3 (diff)
repo-install-test: fix osmo-trx-usrp1 check
The DISTRO variable is either debian10 or debian11, fix the broken check. This condition is there in the first place, because we don't build the usrp1 backend for centos8. Change-Id: I987f27db257961faf06824df2dcc8f9db1fedccf Related: OS#5365
-rwxr-xr-xscripts/repo-install-test/run-inside.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/repo-install-test/run-inside.sh b/scripts/repo-install-test/run-inside.sh
index d3610cb..6f767bc 100755
--- a/scripts/repo-install-test/run-inside.sh
+++ b/scripts/repo-install-test/run-inside.sh
@@ -393,10 +393,12 @@ test_binaries() {
osmo-stp \
osmo-trx-uhd
- if [ "$DISTRO" = "debian" ]; then
+ case "$DISTRO" in
+ debian*)
test_binaries_version \
osmo-trx-usrp1
- fi
+ ;;
+ esac
}
services_check() {