From 243d08e1adc48898b3fb53484f00b68978fd685b Mon Sep 17 00:00:00 2001 From: eplanet Date: Mon, 14 Nov 2016 21:24:16 +0000 Subject: Added unit test case for path_exists --- testcases/003-path-exists/i3status.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testcases/003-path-exists/i3status.conf (limited to 'testcases/003-path-exists/i3status.conf') diff --git a/testcases/003-path-exists/i3status.conf b/testcases/003-path-exists/i3status.conf new file mode 100644 index 0000000..38ca7d4 --- /dev/null +++ b/testcases/003-path-exists/i3status.conf @@ -0,0 +1,14 @@ +general { + output_format = "none" +} + +order += "path_exists EXISTING" +order += "path_exists NONEXISTANT" + +path_exists EXISTING { + path = "testcases/003-path-exists" +} + +path_exists NONEXISTANT { + path = "testcases/003-path-exists/nonexistant" +} -- cgit v1.2.3