Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2017 07:25:59 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r325309 - user/pho/stress2/misc
Message-ID:  <201711020725.vA27PxIb080157@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Thu Nov  2 07:25:59 2017
New Revision: 325309
URL: https://svnweb.freebsd.org/changeset/base/325309

Log:
  Always return 0 as the exit code.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  user/pho/stress2/misc/mmap13.sh

Modified: user/pho/stress2/misc/mmap13.sh
==============================================================================
--- user/pho/stress2/misc/mmap13.sh	Thu Nov  2 07:09:38 2017	(r325308)
+++ user/pho/stress2/misc/mmap13.sh	Thu Nov  2 07:25:59 2017	(r325309)
@@ -29,6 +29,7 @@
 #
 
 # Leak of "vm.stats.vm.v_wire_count" seen.
+# This test must run in single user mode for accurate leak reporting.
 # Test scenario by: Mark Johnston markj@
 # Fixed in r269134.
 
@@ -50,12 +51,11 @@ for i in `jot 5000`; do
 	/tmp/mmap13
 done 2>&1 | tail -5
 v2=`sysctl -n vm.stats.vm.v_wire_count`
-s=0
 [ $v2 -gt $((v1 + 500)) ] &&
-{ s=1; echo "vm.stats.vm.v_wire_count changed from $v1 to $v2."; }
+    echo "vm.stats.vm.v_wire_count changed from $v1 to $v2."
 
 rm -f /tmp/mmap13
-exit $s
+exit 0
 
 EOF
 #include <sys/mman.h>



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