summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-03-06 14:19:36 +0000
committerbz <bz@FreeBSD.org>2012-03-06 14:19:36 +0000
commit45db1d7f59d9cb7fae12cc9d0f786dec2b7a7a08 (patch)
tree833ddd2c4a0809a7288a4ac9765e86ede4f1f818 /tools
parent1d720144fdb563ad9f7045262dffe76fda283e23 (diff)
downloadFreeBSD-src-45db1d7f59d9cb7fae12cc9d0f786dec2b7a7a08.zip
FreeBSD-src-45db1d7f59d9cb7fae12cc9d0f786dec2b7a7a08.tar.gz
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test/netfibs/initiator.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/netfibs/initiator.sh b/tools/test/netfibs/initiator.sh
index d64c5ee..3a409a7 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
OpenPOWER on IntegriCloud