Add network test cases (#246)
This commit is contained in:
parent
7ea12e3dff
commit
6464ae2df9
1
testcases/016-ethernet-down/expected_output.txt
Normal file
1
testcases/016-ethernet-down/expected_output.txt
Normal file
@ -0,0 +1 @@
|
||||
E: down
|
10
testcases/016-ethernet-down/i3status.conf
Normal file
10
testcases/016-ethernet-down/i3status.conf
Normal file
@ -0,0 +1,10 @@
|
||||
general {
|
||||
output_format = "none"
|
||||
}
|
||||
|
||||
order += "ethernet nonsense"
|
||||
|
||||
ethernet nonsense {
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
1
testcases/017-wireless-down/expected_output.txt
Normal file
1
testcases/017-wireless-down/expected_output.txt
Normal file
@ -0,0 +1 @@
|
||||
W: down
|
10
testcases/017-wireless-down/i3status.conf
Normal file
10
testcases/017-wireless-down/i3status.conf
Normal file
@ -0,0 +1,10 @@
|
||||
general {
|
||||
output_format = "none"
|
||||
}
|
||||
|
||||
order += "wireless nonsense"
|
||||
|
||||
wireless nonsense {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_down = "W: down"
|
||||
}
|
Loading…
Reference in New Issue
Block a user