aboutsummaryrefslogtreecommitdiff
path: root/testcases/007-cpu-usage-degraded-threshold-format/i3status.conf
diff options
context:
space:
mode:
authorMichael Stapelberg2016-11-16 13:45:59 -0800
committerGitHub2016-11-16 13:45:59 -0800
commitb91e2a4b71911bf2767865580e519c93b26390e8 (patch)
treeddd829d68420558612fcf189e214d842757fb5b8 /testcases/007-cpu-usage-degraded-threshold-format/i3status.conf
parentMerge pull request #178 from eplanet/ut_cpu_temp (diff)
parentAdd unit tests for threshold format (diff)
Merge pull request #179 from mihaicmn/feature-threshold-format
Provide format_above_threshold/format_below_threshold options
Diffstat (limited to 'testcases/007-cpu-usage-degraded-threshold-format/i3status.conf')
-rw-r--r--testcases/007-cpu-usage-degraded-threshold-format/i3status.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/testcases/007-cpu-usage-degraded-threshold-format/i3status.conf b/testcases/007-cpu-usage-degraded-threshold-format/i3status.conf
new file mode 100644
index 0000000..06aeb14
--- /dev/null
+++ b/testcases/007-cpu-usage-degraded-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
+}