svn commit: r232905 - stable/8/tools/test/netfibs

Bjoern A. Zeeb bz at FreeBSD.org
Mon Mar 12 22:10:59 UTC 2012


Author: bz
Date: Mon Mar 12 22:10:58 2012
New Revision: 232905
URL: http://svn.freebsd.org/changeset/base/232905

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/8/tools/test/netfibs/initiator.sh
Directory Properties:
  stable/8/tools/test/   (props changed)

Modified: stable/8/tools/test/netfibs/initiator.sh
==============================================================================
--- stable/8/tools/test/netfibs/initiator.sh	Mon Mar 12 22:08:03 2012	(r232904)
+++ stable/8/tools/test/netfibs/initiator.sh	Mon Mar 12 22:10:58 2012	(r232905)
@@ -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


More information about the svn-src-all mailing list