History log of /freebsd-10-stable/bin/chmod/tests/chmod_test.sh
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 322759 21-Aug-2017 gjb

MFC r321949, r321950, r322101:

r321949 (ngie):
Add expected failures for ZFS

- :f_flag fails on ZFS because UF_IMMUTABLE isn't supported.
- :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 .

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

r322101 (ngie):
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: 221188, 221189
Approved by: re (marius)
Sponsored by: The FreeBSD Foundation


# 321130 18-Jul-2017 ngie

MFC r268030,r268793,r303212,r319642,r319830:

r268030 (by eadler):

chown: add a test

Add a test for the chown utility. This sets up chown(8) to be capable of being
tested. As such, only add one test for now as an example.

r268793 (by eadler):

chown: Fix chown test number

r303212 (by bdrewery):

Move chown tests to proper path

r319642:

Add some basic tests for chmod(1)

r319830:

Add more simple positive tests for chown(1)

The tests are largely symmetric with the tests for chmod(1)--added in r319642.

Remove chown-f_test (added in r268030) since the test coverage is now being
provided by `chown_test`.

# 319642 07-Jun-2017 ngie

Add some basic tests for chmod(1)

MFC after: 1 month
Sponsored by: Dell EMC Isilon