tests: add ifquery state tests
This commit is contained in:
parent
09057aa977
commit
c94c66b25c
4 changed files with 30 additions and 1 deletions
7
tests/fixtures/alias-home-work.interfaces
vendored
Normal file
7
tests/fixtures/alias-home-work.interfaces
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
iface home inet dhcp
|
||||
|
||||
iface work
|
||||
address 203.0.113.2/24
|
||||
address 2001:db8:1000:2::2/64
|
||||
gateway 203.0.113.1
|
||||
gateway 2001:db8:1000:2::1
|
1
tests/fixtures/alias-home.ifstate
vendored
Normal file
1
tests/fixtures/alias-home.ifstate
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
wlan0=home
|
1
tests/fixtures/alias-work.ifstate
vendored
Normal file
1
tests/fixtures/alias-work.ifstate
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
wlan0=work
|
Loading…
Add table
Add a link
Reference in a new issue