selftest: net: fix typo in altname test
authorAndrea Claudi <aclaudi@redhat.com>
Sat, 11 Sep 2021 14:14:18 +0000 (16:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:27:58 +0000 (12:27 +0200)
commite00eae1d6b1fb8eecb1250fdcadcc97ea391cbe5
tree5b35e352e341cca83c994c3b1e2b51ac2e6400fd
parent53947b68c56bbdd2d8c8399b0d1a6ab154203577
selftest: net: fix typo in altname test

commit 1b704b27beb11ce147d64b21c914e57afbfb5656 upstream.

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: f95e6c9c4617 ("selftest: net: add alternative names test")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/net/altnames.sh