HomeFreeBSD

ZTS: Fix test zfs_mount_006_pos

Description

ZTS: Fix test zfs_mount_006_pos

For Linux, place a file in the mount point folder so it will be
considered "busy". Fix the while loop so it doesn't rm in
directories above the testdir. Add Linux-specific code to test
overlay on|off.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #4990
Closes #8081

Details

Provenance
Paul Zuchowski <31706010+PaulZ-98@users.noreply.github.com>Authored on Nov 8 2018, 12:54 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 8 2018, 12:54 AM
Parents
rGd7bda38c762f: Add BuildRequires gcc, make, elfutils-libelf-devel
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc2bcfa71f40b: ZTS: Fix test zfs_mount_006_pos (authored by Paul Zuchowski <31706010+PaulZ-98@users.noreply.github.com>).Nov 8 2018, 12:54 AM