aboutsummaryrefslogtreecommitdiffstats
path: root/filters/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'filters/test.sh')
-rwxr-xr-xfilters/test.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/filters/test.sh b/filters/test.sh
index 78a52fff..c0d9e6cd 100755
--- a/filters/test.sh
+++ b/filters/test.sh
@@ -4,6 +4,31 @@ set -e
here=$(dirname $0)
fail=0
+style=$(mktemp)
+trap "rm -f $style" EXIT
+cat >$style <<EOF
+# stuff
+
+url.fg = red
+
+[viewer]
+url.underline = true
+header.bold= true
+signature.dim=true
+diff_meta.bold =true
+diff_chunk.dim= true
+invalid . xxx = lkjfdslkjfdsqqqqqlkjdsq
+diff_add.fg=2
+# comment
+diff_del.fg= 1
+quote_*.fg =6
+quote_*.dim=true
+quote_1.dim=false
+
+[user]
+foo = bar
+EOF
+export AERC_STYLESET=$style
export AERC_OSC8_URLS=1
for vec in $here/vectors/*.in; do