svn commit: r232903 - stable/9/tools/test/netfibs

[ Available lists | Index of svn-src-stable-9 | Month of Mar 2012 | Week of 12 Mar 2012 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Bjoern A. Zeeb <bz@FreeBSD.org>
Date
12 Mar 2012 22:05:51
Subject
svn commit: r232903 - stable/9/tools/test/netfibs
Message-ID
201203122205.q2CM5o9n089214@svn.freebsd.org


[ Hide this part ]
Author: bz
Date: Mon Mar 12 22:05:50 2012
New Revision: 232903
URL: http://svn.freebsd.org/changeset/base/232903

Log:
MFC r232609:

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.

Modified:
stable/9/tools/test/netfibs/initiator.sh
Directory Properties:
stable/9/tools/test/ (props changed)

Modified: stable/9/tools/test/netfibs/initiator.sh
==============================================================================
--- stable/9/tools/test/netfibs/initiator.sh Mon Mar 12 21:52:31 2012 (r232902)
+++ stable/9/tools/test/netfibs/initiator.sh Mon Mar 12 22:05:50 2012 (r232903)
@@ -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


Elapsed time: 0.115 seconds