summaryrefslogtreecommitdiffstats
path: root/tests/bfs/L_capable.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bfs/L_capable.sh')
-rw-r--r--tests/bfs/L_capable.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bfs/L_capable.sh b/tests/bfs/L_capable.sh
new file mode 100644
index 0000000..97c404f
--- /dev/null
+++ b/tests/bfs/L_capable.sh
@@ -0,0 +1,10 @@
+test "$UNAME" = "Linux" || skip
+invoke_bfs . -quit -capable || skip
+
+cd "$TEST"
+
+"$XTOUCH" normal capable
+bfs_sudo setcap all+ep capable || skip
+ln -s capable link
+
+bfs_diff -L . -capable