Add testcase for #304
This commit is contained in:
parent
6a5e5b8ac4
commit
02be7c6fdf
1
testcases/023-battery-not-charging/BAT0_uevent
Normal file
1
testcases/023-battery-not-charging/BAT0_uevent
Normal file
@ -0,0 +1 @@
|
||||
POWER_SUPPLY_STATUS=Not charging
|
1
testcases/023-battery-not-charging/expected_output.txt
Normal file
1
testcases/023-battery-not-charging/expected_output.txt
Normal file
@ -0,0 +1 @@
|
||||
BAT
|
10
testcases/023-battery-not-charging/i3status.conf
Normal file
10
testcases/023-battery-not-charging/i3status.conf
Normal file
@ -0,0 +1,10 @@
|
||||
general {
|
||||
output_format = "none"
|
||||
}
|
||||
|
||||
order += "battery all"
|
||||
|
||||
battery all {
|
||||
format = "%status"
|
||||
path = "testcases/023-battery-not-charging/BAT%d_uevent"
|
||||
}
|
Loading…
Reference in New Issue
Block a user