Page MenuHomeFreeBSD

ZFS: fix the delegate tests
ClosedPublic

Authored by asomers on Oct 4 2019, 5:58 PM.
Tags
None
Referenced Files
F168235854: D21898.id.diff
Thu, Aug 27, 2:37 AM
F168215973: D21898.diff
Wed, Aug 26, 11:13 PM
F168187217: D21898.id63004.diff
Wed, Aug 26, 7:00 PM
F168171850: D21898.id62909.diff
Wed, Aug 26, 5:13 PM
F168160389: D21898.id.diff
Wed, Aug 26, 4:00 PM
F168145624: D21898.diff
Wed, Aug 26, 2:23 PM
Unknown Object (File)
Mon, Aug 10, 9:47 AM
Unknown Object (File)
Mon, Aug 10, 9:47 AM

Details

Summary

ZFS: fix the delegate tests

These tests have never worked correctly

  • Replace runwattr with sudo
  • Fix a scoping bug with the "dtst" variable
  • Cleanup user properties created during tests
  • Eliminate the checks for refreservation and send support. They will always be supported.
  • Fix verify_fs_snapshot. It seemed to assume that permissions would not yet be delegated, but that's not how it's actually used.
  • Combine verify_fs_promote with verify_vol_promote
  • Remove some useless sleeps
  • Fix backwards condition in verify_vol_volsize
  • Remove some redundant cleanup steps in the tests. cleanup.ksh will handle everything.
  • Disable some parts of the tests that FreeBSD doesn't support:
    • Creating snapshots with mkdir
    • devices
    • shareisci
    • sharenfs
    • xattr
    • zoned

The sharenfs parts could probably be reenabled with more work to remove the
Solarisms.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable