svn commit: r293880 - head/tests/sys/geom/class/gate
Garrett Cooper
ngie at FreeBSD.org
Thu Jan 14 07:39:06 UTC 2016
Author: ngie
Date: Thu Jan 14 07:39:05 2016
New Revision: 293880
URL: https://svnweb.freebsd.org/changeset/base/293880
Log:
PID file support hasn't been committed for ggated(8) yet. Unbreak running
the testcase more than once by restoring the "killall ggated"
MFC after: 15 days
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tests/sys/geom/class/gate/1_test.sh
Modified: head/tests/sys/geom/class/gate/1_test.sh
==============================================================================
--- head/tests/sys/geom/class/gate/1_test.sh Thu Jan 14 07:27:42 2016 (r293879)
+++ head/tests/sys/geom/class/gate/1_test.sh Thu Jan 14 07:39:05 2016 (r293880)
@@ -11,7 +11,6 @@ while [ -c /dev/ggate${us} ]; do
: $(( us += 1 ))
done
conf=`mktemp $base.XXXXXX` || exit 1
-pidfile=/var/run/ggated.pid
port=33080
work=$(attach_md -t malloc -s 1M)
@@ -20,7 +19,7 @@ src=$(attach_md -t malloc -s 1M)
test_cleanup()
{
ggatec destroy -f -u $us
- pkill -F $pidfile
+ killall ggated
geom_test_cleanup
}
trap test_cleanup ABRT EXIT INT TERM
More information about the svn-src-all
mailing list