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
This commit is contained in:
Bjoern A. Zeeb 2012-03-06 14:19:36 +00:00
parent 811772950f
commit 2460e894e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232609

View File

@ -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