diff options
author | bz <bz@FreeBSD.org> | 2012-03-06 14:19:36 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2012-03-06 14:19:36 +0000 |
commit | 45db1d7f59d9cb7fae12cc9d0f786dec2b7a7a08 (patch) | |
tree | 833ddd2c4a0809a7288a4ac9765e86ede4f1f818 /tools/test | |
parent | 1d720144fdb563ad9f7045262dffe76fda283e23 (diff) | |
download | FreeBSD-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/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 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 |