summaryrefslogtreecommitdiff
path: root/testcases/004-run-watch/i3status.conf
diff options
context:
space:
mode:
authoreplanet <emeric.planet@gmail.com>2016-11-14 21:33:09 +0000
committereplanet <emeric.planet@gmail.com>2016-11-14 21:33:09 +0000
commit9c472405234789bec8ce522ecab025a208481fbe (patch)
tree03fc7d94ec0e1de5fc65a59931f379ed1c8d85e8 /testcases/004-run-watch/i3status.conf
parent243d08e1adc48898b3fb53484f00b68978fd685b (diff)
Added test case for run_watch
The valid test case assumes pid 1 exists, which should always be true on Unix environment.
Diffstat (limited to 'testcases/004-run-watch/i3status.conf')
-rw-r--r--testcases/004-run-watch/i3status.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/testcases/004-run-watch/i3status.conf b/testcases/004-run-watch/i3status.conf
new file mode 100644
index 0000000..95a9bb1
--- /dev/null
+++ b/testcases/004-run-watch/i3status.conf
@@ -0,0 +1,14 @@
+general {
+ output_format = "none"
+}
+
+order += "run_watch EXISTING"
+order += "run_watch NONEXISTANT"
+
+run_watch EXISTING {
+ pidfile = "testcases/004-run-watch/pidfile"
+}
+
+run_watch NONEXISTANT {
+ pidfile = "testcases/004-run-watch/notexistant"
+}