Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2011 13:23:13 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218851 - head/tools/regression/bin/sh
Message-ID:  <201102191323.p1JDNDkm097440@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sat Feb 19 13:23:13 2011
New Revision: 218851
URL: http://svn.freebsd.org/changeset/base/218851

Log:
  sh: Do not use "local" in the test runner as POSIX and ksh93 do not have it.

Modified:
  head/tools/regression/bin/sh/regress.sh

Modified: head/tools/regression/bin/sh/regress.sh
==============================================================================
--- head/tools/regression/bin/sh/regress.sh	Sat Feb 19 13:22:18 2011	(r218850)
+++ head/tools/regression/bin/sh/regress.sh	Sat Feb 19 13:23:13 2011	(r218851)
@@ -9,7 +9,6 @@ export SH=${SH}
 COUNTER=1
 
 do_test() {
-	local c
 	c=${COUNTER}
 	COUNTER=$((COUNTER+1))
 	${SH} $1 > tmp.stdout 2> tmp.stderr



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