From owner-svn-src-user@freebsd.org Thu Nov 2 07:26:00 2017 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7738DE52774 for ; Thu, 2 Nov 2017 07:26:00 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44BF470F29; Thu, 2 Nov 2017 07:26:00 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA27Px5b080158; Thu, 2 Nov 2017 07:25:59 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA27PxIb080157; Thu, 2 Nov 2017 07:25:59 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201711020725.vA27PxIb080157@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Thu, 2 Nov 2017 07:25:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r325309 - user/pho/stress2/misc X-SVN-Group: user X-SVN-Commit-Author: pho X-SVN-Commit-Paths: user/pho/stress2/misc X-SVN-Commit-Revision: 325309 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 07:26:00 -0000 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