summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/altnames.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/net/altnames.sh')
-rwxr-xr-xtools/testing/selftests/net/altnames.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/altnames.sh b/tools/testing/selftests/net/altnames.sh
index 4254ddc3f70b..1ef9e4159bba 100755
--- a/tools/testing/selftests/net/altnames.sh
+++ b/tools/testing/selftests/net/altnames.sh
@@ -45,7 +45,7 @@ altnames_test()
check_err $? "Got unexpected long alternative name from link show JSON"
ip link property del $DUMMY_DEV altname $SHORT_NAME
- check_err $? "Failed to add short alternative name"
+ check_err $? "Failed to delete short alternative name"
ip -j -p link show $SHORT_NAME &>/dev/null
check_fail $? "Unexpected success while trying to do link show with deleted short alternative name"