]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Use attach_md instead of hardcoding md(4) provider unit numbers
authorngie <ngie@FreeBSD.org>
Sun, 3 Jan 2016 06:02:56 +0000 (06:02 +0000)
committerngie <ngie@FreeBSD.org>
Sun, 3 Jan 2016 06:02:56 +0000 (06:02 +0000)
commit56891f5bbd867c34df21e1c84d3eaaf2346a5980
tree9ec89193da3573b8781742b335c781e4ff238a8b
parent3db696df034ec3362db176d4fd02070207ec600c
- Use attach_md instead of hardcoding md(4) provider unit numbers
- Implement a gmirror_test_cleanup function, which in turn calls
  geom_test_cleanup to clean up all md(4) providers allocated in the test
  run.
- Remove duplicate logic in test scripts for removing md(4) providers.
- Don't create files in /tmp (outside the kyua sandbox); use the current
  directory instead

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
tools/regression/geom_mirror/conf.sh
tools/regression/geom_mirror/test-1.t
tools/regression/geom_mirror/test-2.t
tools/regression/geom_mirror/test-3.t
tools/regression/geom_mirror/test-4.t
tools/regression/geom_mirror/test-5.t
tools/regression/geom_mirror/test-6.t
tools/regression/geom_mirror/test-7.t