History log of /src/usr.bin/stat/tests/stat_test.sh (Results 1 – 25 of 33)
Revision Date Author Comments
# 1a7a067d 16-Sep-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

stat: Add option to list holes

Add a new -h option that causes stat to print a list of holes for each
file argument.

Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://revi

stat: Add option to list holes

Add a new -h option that causes stat to print a list of holes for each
file argument.

Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D52481

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 7648bc9f 13-May-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @347527

Sponsored by: The FreeBSD Foundation


# 98ce554a 01-May-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

Unbreak the tests after r347002.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 1a7a067d 16-Sep-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

stat: Add option to list holes

Add a new -h option that causes stat to print a list of holes for each
file argument.

Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://revi

stat: Add option to list holes

Add a new -h option that causes stat to print a list of holes for each
file argument.

Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D52481

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 7648bc9f 13-May-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @347527

Sponsored by: The FreeBSD Foundation


# 98ce554a 01-May-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

Unbreak the tests after r347002.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 531c2d7a 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

MFhead@r320180


# bca9d05f 23-Jul-2017 Hans Petter Selasky <hselasky@FreeBSD.org>

Merge ^/head r319973 through 321382.


# d2043ca3 13-Jul-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r320573 through r320970.


# faef91fa 06-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

:l_flag:: be more aggressive when normalizing whitespace

Save output from ls -ldT and stat -l, then normalize all repeating whitespace using
sed to single column spaces.

This makes the test flexibl

:l_flag:: be more aggressive when normalizing whitespace

Save output from ls -ldT and stat -l, then normalize all repeating whitespace using
sed to single column spaces.

This makes the test flexible with single-digit days, etc, similar to r320723. This
approach is just a bit more of a hammer approach because of how the columns are
ordered/spaced in both ls and stat.

MFC after: 1 week
MFC with: r319841

show more ...


# 5e8e7af3 06-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Use %e instead of %d with x_output_date(..)

stat -x doesn't 0-fill days so %d is inappropriate. %e is correct.

MFC after: 1 week
MFC with: r319841


# 4198293b 17-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319801 through r320041.


# 64a82bcd 12-Jun-2017 Enji Cooper <ngie@FreeBSD.org>

Add initial tests for stat(1)

Testcases for -H, -L, and -f haven't been implemented yet, in part due
to additional complexity needed to validate the features:
* -H and -f will require an external "h

Add initial tests for stat(1)

Testcases for -H, -L, and -f haven't been implemented yet, in part due
to additional complexity needed to validate the features:
* -H and -f will require an external "helper" program to display/modify
the state/permissions for a given path.
* -L is being covered partially via the -n testcase today.

MFC after: 1 month

show more ...


# 531c2d7a 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

MFhead@r320180


# bca9d05f 23-Jul-2017 Hans Petter Selasky <hselasky@FreeBSD.org>

Merge ^/head r319973 through 321382.


# d2043ca3 13-Jul-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r320573 through r320970.


# faef91fa 06-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

:l_flag:: be more aggressive when normalizing whitespace

Save output from ls -ldT and stat -l, then normalize all repeating whitespace using
sed to single column spaces.

This makes the test flexibl

:l_flag:: be more aggressive when normalizing whitespace

Save output from ls -ldT and stat -l, then normalize all repeating whitespace using
sed to single column spaces.

This makes the test flexible with single-digit days, etc, similar to r320723. This
approach is just a bit more of a hammer approach because of how the columns are
ordered/spaced in both ls and stat.

MFC after: 1 week
MFC with: r319841

show more ...


# 5e8e7af3 06-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Use %e instead of %d with x_output_date(..)

stat -x doesn't 0-fill days so %d is inappropriate. %e is correct.

MFC after: 1 week
MFC with: r319841


# 4198293b 17-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319801 through r320041.


# 64a82bcd 12-Jun-2017 Enji Cooper <ngie@FreeBSD.org>

Add initial tests for stat(1)

Testcases for -H, -L, and -f haven't been implemented yet, in part due
to additional complexity needed to validate the features:
* -H and -f will require an external "h

Add initial tests for stat(1)

Testcases for -H, -L, and -f haven't been implemented yet, in part due
to additional complexity needed to validate the features:
* -H and -f will require an external "helper" program to display/modify
the state/permissions for a given path.
* -L is being covered partially via the -n testcase today.

MFC after: 1 month

show more ...


# 1a7a067d 16-Sep-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

stat: Add option to list holes

Add a new -h option that causes stat to print a list of holes for each
file argument.

Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://revi

stat: Add option to list holes

Add a new -h option that causes stat to print a list of holes for each
file argument.

Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D52481

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 7648bc9f 13-May-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @347527

Sponsored by: The FreeBSD Foundation


12