1diff --git a/tests/checks/path.fish b/tests/checks/path.fish
2index 62812571a..b0eebcd91 100644
3--- a/tests/checks/path.fish
4+++ b/tests/checks/path.fish
5@@ -117,12 +117,6 @@ path filter --type file,dir --perm exec,write bin/fish .
6 # So it passes.
7 # CHECK: .
8
9-mkdir -p sbin
10-touch sbin/setuid-exe sbin/setgid-exe
11-chmod u+s,a+x sbin/setuid-exe
12-path filter --perm suid sbin/*
13-# CHECK: sbin/setuid-exe
14-
15 # On at least FreeBSD on our CI this fails with "permission denied".
16 # So we can't test it, and we fake the output instead.
17 if chmod g+s,a+x sbin/setgid-exe 2>/dev/null