HomeFreeBSD

ZTS: deletes home directories in /export/home

Description

ZTS: deletes home directories in /export/home

In the cleanup for the privilege tests, an empty variable, empty because
the corresponding setup is skipped on Linux, results in /export/home
being deleted. This patch adds an assertion that the variable is not
empty, and causes the cleanup to be skipped on Linux as well.

Reviewed by: John Wren Kennedy <jwk404@gmail.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Signed-off-by: John Gallagher <john.gallagher@delphix.com>
External-issue: LX-1099
Closes #7615

Details

Provenance
John Gallagher <jgallag88@gmail.com>Authored on Jun 12 2018, 5:42 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 12 2018, 5:42 PM
Parents
rG527757126088: ZTS: cleanup user_run
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGab24877bd345: ZTS: deletes home directories in /export/home (authored by John Gallagher <jgallag88@gmail.com>).Jun 12 2018, 5:42 PM