From: Martin Schwenke Date: Wed, 8 Apr 2026 02:10:43 +0000 (+1000) Subject: ctdb-tests: Fix a typo in "ip link show" stub output X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee9b18876b4e7c104e9668a755a088b4933a2514;p=thirdparty%2Fsamba.git ctdb-tests: Fix a typo in "ip link show" stub output Status is different to state and should not be repeated. For example: eth0 UP aa:bb:cc:dd:ee:ff Clearly nothing looks at this field but it should be correct. Signed-off-by: Martin Schwenke Reviewed-by: John Mulligan --- diff --git a/ctdb/tests/UNIT/eventscripts/stubs/ip b/ctdb/tests/UNIT/eventscripts/stubs/ip index 090afae253a..6d50f11b750 100755 --- a/ctdb/tests/UNIT/eventscripts/stubs/ip +++ b/ctdb/tests/UNIT/eventscripts/stubs/ip @@ -145,7 +145,7 @@ ip_link_show() if $brief; then printf '%-16s %-14s %-17s %s\n' \ - "$dev" "$_status" "$_mac" "$_status" + "$dev" "$_state" "$_mac" "$_status" else echo "${n:-42}: ${dev}: ${_status} ${_opts}" echo " link/${_type} ${_mac} brd ${_brd}"