diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2012-03-06 14:19:36 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2012-03-06 14:19:36 +0000 |
commit | 2460e894e3de2136dde33e1a02e5fba7baba498a (patch) | |
tree | 833ddd2c4a0809a7288a4ac9765e86ede4f1f818 /tools/test | |
parent | 811772950f6233aa95be544ad5e7cb7002488d68 (diff) | |
download | src-2460e894e3de2136dde33e1a02e5fba7baba498a.tar.gz src-2460e894e3de2136dde33e1a02e5fba7baba498a.zip |
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
Notes
Notes:
svn path=/head/; revision=232609
Diffstat (limited to 'tools/test')
-rwxr-xr-x | tools/test/netfibs/initiator.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/netfibs/initiator.sh b/tools/test/netfibs/initiator.sh index d64c5eedc6d5..3a409a7da1bc 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 |