History log of /openbsd-current/regress/bin/chmod/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.5 06-Jul-2021 bluhm

Make test more verbose to see commands and error messages in output.
This makes it easier to debug if something fails. Add some ${SUDO}
in a way that this tests runs as root or regular user with and
without SUDO set.


# 1.4 06-Jul-2021 anton

Make use of the existing bsd.regress.mk logic to flag root only targets,
allowing the actual tests to become less repetitive.

ok bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.3 18-Feb-2017 tb

Add a regress test for the chflags problem analogous to the chmod bug
found by Christopher Wellons (see chmod.c r1.41).


# 1.2 17-Feb-2017 tb

Add tests for chmod's interaction with symlinks: missing tests for -h and
add tests for the regression introduced in chmod.c r1.33 that transferred
the permissions from the link to the target file in some circumstances.
There are no tests for chflags since I couldn't come up with testcases
without undesirable side-effects like breaking make clean.

Four of these tests fail and will be fixed in the upcoming r1.40 to chmod.

Prompted by a bug report from Christopher Wellons


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.1 15-Jun-2015 florian

First stab at regression test for chmod (and chflags, chgrp and chown
which are the same binary). This is supposed to exercise all syscalls
paths through those tools and not a comprehensive regression test.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.3 18-Feb-2017 tb

Add a regress test for the chflags problem analogous to the chmod bug
found by Christopher Wellons (see chmod.c r1.41).


# 1.2 17-Feb-2017 tb

Add tests for chmod's interaction with symlinks: missing tests for -h and
add tests for the regression introduced in chmod.c r1.33 that transferred
the permissions from the link to the target file in some circumstances.
There are no tests for chflags since I couldn't come up with testcases
without undesirable side-effects like breaking make clean.

Four of these tests fail and will be fixed in the upcoming r1.40 to chmod.

Prompted by a bug report from Christopher Wellons


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.1 15-Jun-2015 florian

First stab at regression test for chmod (and chflags, chgrp and chown
which are the same binary). This is supposed to exercise all syscalls
paths through those tools and not a comprehensive regression test.