mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
Test suite: Strip architecture suffix from CTDB RPM package version.
Later versions of RPM seem to include it but we don't want it. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 6c8eedb21a5e231d4a26ac26706ea51f348a27e0)
This commit is contained in:
parent
b3db37cd30
commit
667a743fff
@ -38,6 +38,9 @@ if ! try_command_on_node -v 0 "rpm -q ctdb" ; then
|
||||
exit 0
|
||||
fi
|
||||
rpm_ver="${out#ctdb-}"
|
||||
# Some version of RPM append the architecture to the version.
|
||||
arch=$(uname -m)
|
||||
rpm_ver="${rpm_ver%.${arch}}"
|
||||
|
||||
try_command_on_node -v 0 "$CTDB version"
|
||||
ctdb_ver="${out#CTDB version: }"
|
||||
|
Loading…
x
Reference in New Issue
Block a user