X Tutup
Skip to content

Commit 74d99c3

Browse files
authored
Merge pull request systemd#21731 from yuwata/test-62-bpf-framework
test: fix TEST-62
2 parents 3abdd4b + 60055fd commit 74d99c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/units/testsuite-62.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
[Unit]
23
Description=TEST-62-RESTRICT-IFACES
34

45
[Service]

test/units/testsuite-62.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if [[ "$KERNEL_MAJOR" -lt $MAJOR_REQUIRED || ("$KERNEL_MAJOR" -eq $MAJOR_REQUIRE
4747
exit 0
4848
fi
4949

50-
if systemctl --version | grep -q -F "-BPF_FRAMEWORK"; then
50+
if systemctl --version | grep -q -F -- "-BPF_FRAMEWORK"; then
5151
echo "bpf-framework is disabled" >>/skipped
5252
exit 0
5353
fi

0 commit comments

Comments
 (0)
X Tutup