History log of /freebsd-current/tests/sys/file/ftruncate_test.c
Revision Date Author Comments
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 71784da9 28-May-2017 Enji Cooper <ngie@FreeBSD.org>

Tweak r319058 slightly

- Specify an explicit mode when using O_CREAT per open(2).
- Fix the error message (add missing enclosing parentheses).

Submitted by: jilles
MFC after: 3 days
MFC with: r319058
Sponsored by: Dell EMC Isilon


# fa15d1ea 28-May-2017 Enji Cooper <ngie@FreeBSD.org>

Create a deterministic file in the kyua sandbox, instead of a
temporary file outside the kyua sandbox

This helps ensure that the file is removed at test exit, and as
a side effect, cures a warning about umasks with Coverity.

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# b71f6e8c 28-May-2017 Enji Cooper <ngie@FreeBSD.org>

tests/sys/file/ftruncate_test: use an exit code of 1 instead
of -1 with err*(3).

An exit code of -1 is implementation defined -- it's best to stick
with something well-defined (1).

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# 54ff563f 13-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Remove unused vars to fix -Wunused issues

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# 3cedbec3 27-Apr-2015 Enji Cooper <ngie@FreeBSD.org>

Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo
and tools/regression/file into the FreeBSD test suite as tests/sys/file

MFC after: 1 week