[Bug 221188] zfs: bin/chmod/chmod_test:v_flag fails on ZFS, not UFS (ZFS updates mode for files unnecessarily)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 19 01:22:09 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221188

--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ngie
Date: Sat Aug 19 01:21:46 UTC 2017
New revision: 322685
URL: https://svnweb.freebsd.org/changeset/base/322685

Log:
  MFC r321949,r321950,r322101:

  r321949:

  Add expected failures for ZFS

  - :f_flag fails on ZFS because UF_IMMUTABLE isn't supported [1].
  - :v_flag fails on ZFS because the mode for foo is [always] updated
    unnecessarily.

  get_filesystem(..) (supporting function that was added to the test script)
  is based on equivalent logic in usr.bin/extattr/tests/extattr_test.sh .

  PR:   221189 [1], 221188 [2]

  r321950:

  Always use first parameter passed to get_filesystem(..) instead of discarding
it
  and using `.` instead.

  MFC with:     r321949
  PR:   221189 [1], 221188 [2]

  r322101:

  Don't check result of chflags in f_flag_cleanup()

  This will prevent false positives from occurring if the test is run on
  ZFS since ZFS doesn't support fflags throbbing like UFS.

  PR:   221189
  MFC with:     r321949

Changes:
_U  stable/11/
  stable/11/bin/chmod/tests/chmod_test.sh

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list