svn commit: r319111 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Mon May 29 09:01:00 UTC 2017


Author: pho
Date: Mon May 29 09:00:58 2017
New Revision: 319111
URL: https://svnweb.freebsd.org/changeset/base/319111

Log:
  Exclude test from regular runs as it's quite disruptive.
  
  Sponsored by:	Dell EMC Isilon

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

Modified: user/pho/stress2/misc/audit.sh
==============================================================================
--- user/pho/stress2/misc/audit.sh	Mon May 29 08:57:50 2017	(r319110)
+++ user/pho/stress2/misc/audit.sh	Mon May 29 09:00:58 2017	(r319111)
@@ -36,7 +36,9 @@
 . ../default.cfg
 
 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
+[ -z "$footshoot" ] && exit 0
 
+[ -f /usr/sbin/auditd -a -f /etc/rc.d/auditd ] || exit 0
 pgrep -q auditd && exit 0
 mount | grep -q /var || exit 0
 
@@ -54,3 +56,4 @@ service auditd onestop
 
 # Some services react badly to /var being unmounted.
 service -R
+exit 0


More information about the svn-src-user mailing list