]> git.baikalelectronics.ru Git - kernel.git/commit
selftest: net: fix typo in altname test
authorAndrea Claudi <aclaudi@redhat.com>
Sat, 11 Sep 2021 14:14:18 +0000 (16:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Sep 2021 09:48:26 +0000 (10:48 +0100)
commitd83459563753afa034debefd0fef8cf3835a27f7
tree384e70469db65eb1c733a996b480ffe3a2dcd307
parent809d8119eb26ca2dc67251abd1b896314f53ee22
selftest: net: fix typo in altname test

If altname deletion of the short alternative name fails, the error
message printed is: "Failed to add short alternative name".
This is obviously a typo, as we are testing altname deletion.

Fix this using a proper error message.

Fixes: 1747f6d869a8 ("selftest: net: add alternative names test")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/altnames.sh