From 562f6e383d84e16ad3ff9d9c777c89e8150a924f Mon Sep 17 00:00:00 2001 From: Mihai Coman Date: Tue, 15 Nov 2016 13:34:06 +0200 Subject: Add unit tests for threshold format --- testcases/006-cpu-usage-max-threshold-format/i3status.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 testcases/006-cpu-usage-max-threshold-format/i3status.conf (limited to 'testcases/006-cpu-usage-max-threshold-format/i3status.conf') diff --git a/testcases/006-cpu-usage-max-threshold-format/i3status.conf b/testcases/006-cpu-usage-max-threshold-format/i3status.conf new file mode 100644 index 0000000..06aeb14 --- /dev/null +++ b/testcases/006-cpu-usage-max-threshold-format/i3status.conf @@ -0,0 +1,10 @@ +general { + output_format = "none" +} + +order += "cpu_usage" + +cpu_usage { + format_above_threshold = "ABOVE_THRESHOLD" + max_threshold = -1 +} -- cgit v1.2.3