Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 14:19:37 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232609 - head/tools/test/netfibs
Message-ID:  <201203061419.q26EJbx3044029@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Tue Mar  6 14:19:36 2012
New Revision: 232609
URL: http://svn.freebsd.org/changeset/base/232609

Log:
  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

Modified:
  head/tools/test/netfibs/initiator.sh

Modified: head/tools/test/netfibs/initiator.sh
==============================================================================
--- head/tools/test/netfibs/initiator.sh	Tue Mar  6 14:18:54 2012	(r232608)
+++ head/tools/test/netfibs/initiator.sh	Tue Mar  6 14:19:36 2012	(r232609)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203061419.q26EJbx3044029>