From 2460e894e3de2136dde33e1a02e5fba7baba498a Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Tue, 6 Mar 2012 14:19:36 +0000 Subject: [PATCH] Use = rather than == for expressions to test(1) builtin(1) in sh(1) to comply with standards. On modern branches there is an undocumented alias (see r219084) but on stable/7 this is still an error. Sponsored by: Cisco Systems, Inc. MFC after: 3 days --- tools/test/netfibs/initiator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/netfibs/initiator.sh b/tools/test/netfibs/initiator.sh index d64c5eedc6d..3a409a7da1b 100755 --- a/tools/test/netfibs/initiator.sh +++ b/tools/test/netfibs/initiator.sh @@ -410,7 +410,7 @@ testtx_ulp6_connected() *) _f="SETFIB" ;; esac - if test "${_o}" == "-i" -a "${_f}" == "SO_SETFIB"; then + if test "${_o}" = "-i" -a "${_f}" = "SO_SETFIB"; then print_debug "Skipping icmp6 tests for SO_SETFIB." return 0 fi