tests: add mock vlan executor and vlan fixture
This commit is contained in:
parent
072c1ea148
commit
b27caaedf6
2 changed files with 9 additions and 0 deletions
7
tests/executors/vlan
Executable file
7
tests/executors/vlan
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
case "$PHASE" in
|
||||
depend)
|
||||
RAW_DEVICE="${IFACE%.*}"
|
||||
echo "$RAW_DEVICE"
|
||||
;;
|
||||
esac
|
2
tests/fixtures/vlan.interfaces
vendored
Normal file
2
tests/fixtures/vlan.interfaces
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
iface eth0.8
|
||||
address 2001:db8:1000:2::2/64
|
Loading…
Reference in a new issue