svn commit: r192897 - head/tools/regression/vfs

Dag-Erling Smorgrav des at FreeBSD.org
Wed May 27 15:15:59 UTC 2009


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


More information about the svn-src-head mailing list