]> git.ipfire.org Git - people/jschlag/network.git/blob - test/nitsi/test/raw-device-get-by-mac/recipe
Add test for command raw device-get-by-mac-address
[people/jschlag/network.git] / test / nitsi / test / raw-device-get-by-mac / recipe
1 include: ../../include/make-install
2 include: ../../include/network-settings
3 include: ../../include/network-reset
4 alice: port="$(network raw device-get-by-mac-address "52:54:00:8a:b8:b5")"
5 alice: echo $port
6 alice: [ "52:54:00:8a:b8:b5" = "$(cat /sys/class/net/${port}/address)" ]