summaryrefslogtreecommitdiffstats
path: root/tests/bfs/capable.sh
blob: e5cad63a42a0b41abd84ec70b9def13bbcf0dad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
test "$UNAME" = "Linux" || skip

clean_scratch

invoke_bfs scratch -quit -capable || skip

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

bfs_diff scratch -capable