summaryrefslogtreecommitdiffstats
path: root/tests/bfs/L_capable.sh
blob: 533ac2f54eb7908259005429b181a1e92cce6a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
skip_unless test "$SUDO"
skip_unless test "$UNAME" = "Linux"

clean_scratch

skip_unless invoke_bfs scratch -quit -capable

"$XTOUCH" scratch/{normal,capable}
sudo setcap all+ep scratch/capable
ln -s capable scratch/link

bfs_diff -L scratch -capable