summaryrefslogtreecommitdiff
path: root/testcases/006-cpu-usage-max-threshold-format
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/006-cpu-usage-max-threshold-format')
-rw-r--r--testcases/006-cpu-usage-max-threshold-format/expected_output.txt1
-rw-r--r--testcases/006-cpu-usage-max-threshold-format/i3status.conf10
2 files changed, 11 insertions, 0 deletions
diff --git a/testcases/006-cpu-usage-max-threshold-format/expected_output.txt b/testcases/006-cpu-usage-max-threshold-format/expected_output.txt
new file mode 100644
index 0000000..97fca6d
--- /dev/null
+++ b/testcases/006-cpu-usage-max-threshold-format/expected_output.txt
@@ -0,0 +1 @@
+ABOVE_THRESHOLD
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
+}