Add testcase for invalid %cpu placeholder
This commit is contained in:
parent
0b8aa86ecb
commit
aa572d24b5
7
testcases/024-cpu-usage-invalid-cpu/expected_output.pl
Normal file
7
testcases/024-cpu-usage-invalid-cpu/expected_output.pl
Normal file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use v5.10;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
print "CPU: \n";
|
9
testcases/024-cpu-usage-invalid-cpu/i3status.conf
Normal file
9
testcases/024-cpu-usage-invalid-cpu/i3status.conf
Normal file
@ -0,0 +1,9 @@
|
||||
general {
|
||||
output_format = "none"
|
||||
}
|
||||
|
||||
order += "cpu_usage"
|
||||
|
||||
cpu_usage {
|
||||
format = "CPU: %cpu"
|
||||
}
|
Loading…
Reference in New Issue
Block a user