Revision tags: release/14.0.0 |
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
39a1f858 |
| 03-Feb-2021 |
Alex Richardson <arichardson@FreeBSD.org> |
du_test: Skip three tests if sparse files are not supported
This fixes running the du tests with /tmp as tmpfs (which is what we do in the CheriBSD CI).
Obtained from: CheriBSD Reviewed By: ngie Di
du_test: Skip three tests if sparse files are not supported
This fixes running the du tests with /tmp as tmpfs (which is what we do in the CheriBSD CI).
Obtained from: CheriBSD Reviewed By: ngie Differential Revision: https://reviews.freebsd.org/D28398
show more ...
|
#
bf59049c |
| 29-Jan-2021 |
Kyle Evans <kevans@FreeBSD.org> |
du: tests: use dollar-single quotes where appropriate
No need for "foo$(printf "\t")", $'\t' is both more readable and still functional.
Reported-by: Jamie Landeg-Jones <jamie@catflap.org>
|
#
3c5c39c7 |
| 05-Jan-2021 |
Kyle Evans <kevans@FreeBSD.org> |
du: tests: make H_flag tests more strict about output requirements
The current version of this test will effectively pass as long as one of the specified paths is in the output, and it could even be
du: tests: make H_flag tests more strict about output requirements
The current version of this test will effectively pass as long as one of the specified paths is in the output, and it could even be a subset of one of the paths.
Strengthen up the test a little bit: * Specify beginning/end anchors for each path * Add egrep -v checks to make sure we don't have any *additional* paths * Ratchet down paths2 to exactly the two paths we expect to appear
Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D27984
show more ...
|
#
4832d2e8 |
| 05-Jan-2021 |
Kyle Evans <kevans@FreeBSD.org> |
du: tests: fix the H_flag test (primarily grep usage)
This test attempts to use \t (tab intended) in a grep expression. With the former /usr/bin/grep (i.e. gnugrep), this was interpreted as a liter
du: tests: fix the H_flag test (primarily grep usage)
This test attempts to use \t (tab intended) in a grep expression. With the former /usr/bin/grep (i.e. gnugrep), this was interpreted as a literal 't'. The expression would work anyways because the tr(1) usage would ultimately replace all of the spaces with a single newline, and they would match the paths whether they were correctly fromatted or not.
Current /usr/bin/grep (i.e. bsdgrep) is less-tolerant of ordinary-escapes, a property of the underlying regex(3) engine, to make it easier to identify when stuff like this happens. In-fact, this expression broke after the switch happened.
This revision does the bare basics to fix the usage by using a printf to get a literal tab character to insert into the expression. It also swaps out the manual insertion of the line prefix into the grep expression by pulling that part out of $sep and reusing it for the leading path.
The secondary issue was the tr(1) usage, since tr would only replace the first character of string1 with the first character of string2. This has instead been replaced by a sed expression, which similary understands \n to be a newline on all supported versions of FreeBSD. Each path now gets prefixed with the appropriate context that should be there (i.e. numeric sequence followed by a tab).
PR: 252446 Reviewed by: emaste, ngie Differential Revision: https://reviews.freebsd.org/D27983
show more ...
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
#
7648bc9f |
| 13-May-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @347527
Sponsored by: The FreeBSD Foundation
|
#
da5069e1 |
| 22-Apr-2019 |
Enji Cooper <ngie@FreeBSD.org> |
Update the spelling of my name
Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji instead for clarity.
While here, remove "All Rights Reserved" from copyrights I "own".
Update the spelling of my name
Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji instead for clarity.
While here, remove "All Rights Reserved" from copyrights I "own".
MFC after: 1 week
show more ...
|
Revision tags: release/12.0.0, release/11.2.0, release/10.4.0 |
|
#
083c8ded |
| 13-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r322451
|
#
0275f9db |
| 11-Aug-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r321383 through r322397.
|
#
476c601b |
| 09-Aug-2017 |
Kyle Evans <kevans@FreeBSD.org> |
du(1): Add --si option to display in terms of powers of 1000
Reviewed by: cem (earlier version), emaste Approved by: emaste (mentor) Differential Revision: https://reviews.freebsd.org/D11748
|
Revision tags: release/11.1.0 |
|
#
4198293b |
| 17-Jun-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r319801 through r320041.
|
#
74c9a591 |
| 12-Jun-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Add some initial basic tests for du(1)
Tests that exercise the following flags are added in this commit: - -A - -H - -I - -g - -h - -k - -m
Additional tests will be added soon.
MFC after: 1 month
|