Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 15:15:58 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192897 - head/tools/regression/vfs
Message-ID:  <200905271515.n4RFFwg5000924@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Wed May 27 15:15:58 2009
New Revision: 192897
URL: http://svn.freebsd.org/changeset/base/192897

Log:
  Increment the counter outside the subshell.

Modified:
  head/tools/regression/vfs/trailing_slash.t

Modified: head/tools/regression/vfs/trailing_slash.t
==============================================================================
--- head/tools/regression/vfs/trailing_slash.t	Wed May 27 14:30:26 2009	(r192896)
+++ head/tools/regression/vfs/trailing_slash.t	Wed May 27 15:15:58 2009	(r192897)
@@ -37,6 +37,6 @@ for testspec ; do
 		else
 			echo "fail $n - expected $4, got $ret"
 		fi
-		n=$((n+1))
 	)
+	n=$((n+1))
 done



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