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