1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00

Merge pull request #21731 from yuwata/test-62-bpf-framework

test: fix TEST-62
This commit is contained in:
Luca Boccassi 2021-12-11 10:46:46 +00:00 committed by GitHub
commit 74d99c3ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=TEST-62-RESTRICT-IFACES
[Service]

View File

@ -47,7 +47,7 @@ if [[ "$KERNEL_MAJOR" -lt $MAJOR_REQUIRED || ("$KERNEL_MAJOR" -eq $MAJOR_REQUIRE
exit 0
fi
if systemctl --version | grep -q -F "-BPF_FRAMEWORK"; then
if systemctl --version | grep -q -F -- "-BPF_FRAMEWORK"; then
echo "bpf-framework is disabled" >>/skipped
exit 0
fi