git: bin/test: Sync with FreeBSD

Peter Avalos pavalos at
Sun Feb 13 12:05:17 PST 2011

commit b3967821f8b89d00e3f7b6c54c1003976d3202bf
Author: Peter Avalos <pavalos at>
Date:   Sat Feb 12 20:52:35 2011 -1000

    bin/test: Sync with FreeBSD
    -Help /bin/sh pass a few more regression tests.
    -Convert to use st_mtim instead of st_mtimespec.
    -Fix various cases with 3 or 4 parameters in test(1) to be POSIX
    -Use intmax_t as a quad replacement instead of long long.
    -__printflike() should really be __printf0like().
    -Localize (LC_CTYPE).
    -Cleanup whitespace.
    -Simplify markup in man page.
    -Describe how test(1) will evaluate its expressions for a symlink.
    -Document that both sides of -a or -o are always evaluated.
    Obtained-from: FreeBSD

Summary of changes:
 bin/test/test.1 |  121 ++++++++++++++++++++++++++++++------------------
 bin/test/test.c |  137 +++++++++++++++++++++++++++++++++++++++---------------
 2 files changed, 174 insertions(+), 84 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list