]> git.sur5r.net Git - i3/i3status/blobdiff - testcases/025-file-contents/i3status.conf
Added function to print content from file (#331)
[i3/i3status] / testcases / 025-file-contents / i3status.conf
diff --git a/testcases/025-file-contents/i3status.conf b/testcases/025-file-contents/i3status.conf
new file mode 100644 (file)
index 0000000..26646cd
--- /dev/null
@@ -0,0 +1,14 @@
+general {
+        output_format = "none"
+}
+
+order += "read_file EXISTING"
+order += "read_file NONEXISTANT"
+
+read_file EXISTING {
+        path = "testcases/025-file-contents/short.txt"
+}
+
+read_file NONEXISTANT {
+        path = "testcases/025-file-contents/nonexistant"
+}