summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/netdevice.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/net/netdevice.sh')
-rwxr-xr-xtools/testing/selftests/net/netdevice.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/netdevice.sh b/tools/testing/selftests/net/netdevice.sh
index 4e00568d70c2..90cb903c3381 100755
--- a/tools/testing/selftests/net/netdevice.sh
+++ b/tools/testing/selftests/net/netdevice.sh
@@ -178,7 +178,7 @@ if [ "$(id -u)" -ne 0 ];then
exit 0
fi
-ip -Version 2>/dev/null >/dev/null
+ip link show 2>/dev/null >/dev/null
if [ $? -ne 0 ];then
echo "SKIP: Could not run test without the ip tool"
exit 0