summaryrefslogtreecommitdiff
path: root/testcases/025-file-contents/i3status.conf
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/025-file-contents/i3status.conf')
-rw-r--r--testcases/025-file-contents/i3status.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/testcases/025-file-contents/i3status.conf b/testcases/025-file-contents/i3status.conf
index 26646cd..78f9f50 100644
--- a/testcases/025-file-contents/i3status.conf
+++ b/testcases/025-file-contents/i3status.conf
@@ -3,12 +3,18 @@ general {
}
order += "read_file EXISTING"
+order += "read_file TRUNCATED"
order += "read_file NONEXISTANT"
read_file EXISTING {
path = "testcases/025-file-contents/short.txt"
}
+read_file TRUNCATED {
+ path = "testcases/025-file-contents/short.txt"
+ max_characters = 3
+}
+
read_file NONEXISTANT {
path = "testcases/025-file-contents/nonexistant"
}