mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 15:15:01 +00:00
fc72874563
Note that VFS internally interprets a timestamp of -1 as “do not set”, so this has no effect, but at least touch won't incorrectly reject the given date / time (1969-12-31 23:59:59 UTC) as invalid. While here, fix some style issues. MFC after: 1 week Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44504 (cherry picked from commitaa69e0f212
) touch: Add unit tests. MFC after: 1 week Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D44505 (cherry picked from commit74a4aa9b15
)
10 lines
135 B
Makefile
10 lines
135 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= touch
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}= tests
|
|
|
|
.include <bsd.prog.mk>
|