Skip to content

Commit 1fc83f0

Browse files
committed
tests/int/update: use systemd_version()
Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent d23eb61 commit 1fc83f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integration/update.bats

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ function setup() {
5454
fi
5555

5656
SD_UNLIMITED="infinity"
57-
SD_VERSION=$(systemctl --version | awk '{print $2; exit}')
58-
if [ "$SD_VERSION" -lt 227 ]; then
57+
if [ "$(systemd_version)" -lt 227 ]; then
5958
SD_UNLIMITED="18446744073709551615"
6059
fi
6160

0 commit comments

Comments
 (0)