freebsd-nq/sbin/bectl
Enji Cooper 794022b04a Fix up concurrent test zpool setup and teardown
Set up zpools with a more unique name, stash the zpool name away in a file pointed
to by `$ZPOOL_NAME_FILE` (which is relative to a per-testcase generated temporary
directory), then remove the file based on `$ZPOOL_NAME_FILE` in the cleanup
routines.

This is a more concurrency-safe solution and will allow the testcases to be safely
executed in parallel.

Reviewed by:	kevans, jtl
Approved by:	jtl (mentor)
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D19024
2019-02-12 23:35:46 +00:00
..
tests Fix up concurrent test zpool setup and teardown 2019-02-12 23:35:46 +00:00
bectl_jail.c libbe(3): Change be_mount to mount/unmount child datasets 2019-01-10 03:27:20 +00:00
bectl_list.c bectl(8): Use strcmp, rather than trying to directly compare 2018-08-12 00:09:52 +00:00
bectl.8 bectl(8): Add -o flag to destroy to clean up the origin snapshot of BE 2019-02-11 04:00:01 +00:00
bectl.c bectl(8): Add -o flag to destroy to clean up the origin snapshot of BE 2019-02-11 04:00:01 +00:00
bectl.h bectl(8): Split list functionality out into its own file as well 2018-08-06 03:41:52 +00:00
Makefile bectl(8): Add some regression tests 2018-11-19 02:30:12 +00:00