summaryrefslogtreecommitdiffstats
path: root/tests/bfs/color_ca.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bfs/color_ca.sh')
-rw-r--r--tests/bfs/color_ca.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bfs/color_ca.sh b/tests/bfs/color_ca.sh
new file mode 100644
index 0000000..3aaaaf1
--- /dev/null
+++ b/tests/bfs/color_ca.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
+
+LS_COLORS="ca=30;41:" bfs_diff . -color