summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-01-14 07:39:05 +0000
committerngie <ngie@FreeBSD.org>2016-01-14 07:39:05 +0000
commit17e785577a2233aec1b2de1b390614163e0fa126 (patch)
treeba220969fe16f09cc68c741fe1e120a39ff9b372 /tests
parent3e8ec99afcae5d470f7dce8780e03d62e6cba5ae (diff)
downloadFreeBSD-src-17e785577a2233aec1b2de1b390614163e0fa126.zip
FreeBSD-src-17e785577a2233aec1b2de1b390614163e0fa126.tar.gz
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
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/geom/class/gate/1_test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/sys/geom/class/gate/1_test.sh b/tests/sys/geom/class/gate/1_test.sh
index 83f6096..3e27734 100644
--- a/tests/sys/geom/class/gate/1_test.sh
+++ b/tests/sys/geom/class/gate/1_test.sh
@@ -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
OpenPOWER on IntegriCloud