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:
commit
74d99c3ffb
@ -1,4 +1,5 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
[Unit]
|
||||
Description=TEST-62-RESTRICT-IFACES
|
||||
|
||||
[Service]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user