summaryrefslogtreecommitdiff
path: root/bin/test/test.c
AgeCommit message (Expand)Author
2025-12-27sh: avoid warnings about too-long initializer stringsDimitry Andric
2024-07-29test(1): quote closing bracket in error messageDaniel Tameling
2023-11-26bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2020-12-22Remove unused includes.Xin LI
2016-04-19Use NULL for pointers instead of 0.Marcelo Araujo
2016-01-30test: Optimize operator lookup.Jilles Tjoelker
2013-12-05test: Avoid looking up again the type of a known binary operator.Jilles Tjoelker
2013-12-01test: Simplify the code by unifying op_num and op_type.Jilles Tjoelker
2013-05-31test: Remove -ntXY and -otXY primaries.Jilles Tjoelker
2013-02-25Enhance test(1) by adding provision to compare any combination of thePeter Jeremy
2011-11-25test: Reduce code size of ops table.Jilles Tjoelker
2011-10-31Put some static keywords in the source code.Ed Schouten
2011-03-15bin: Prefer strrchr() to rindex().Jilles Tjoelker
2011-02-27Accept == as an alias of = which is a popular GNU extension.Xin LI
2011-02-15test: Note that this is used both as a normal program and a shell builtin.Jilles Tjoelker
2010-03-28Change all our own code to use st_*tim instead of st_*timespec.Ed Schouten
2009-05-26Fix various cases with 3 or 4 parameters in test(1) to be POSIX compliant.Jilles Tjoelker
2005-01-10/*- or .\"- or #- to begin license clauses.Warner Losh
2002-08-15o Backout rev. 1.40 and rev. 1.49.Maxim Konovalov
2002-07-27Make test check the tv_nsec part of a struct stat when comparingDavid Malone
2002-07-05Fix a memory leak.Maxim Konovalov
2002-06-30Consistently use FBSDIDDavid E. O'Brien
2002-05-11while i'm breaking stuff, use __dead2 instead of GCC specific __attribute__.Alfred Perlstein
2002-05-11backout additional include of cdefs.h, it's not helping any.Alfred Perlstein
2002-05-11include cdefs.h for __printf0like to silence warning.Alfred Perlstein
2002-03-28Use intmax_t as quad_t replacement, like in exprAndrey A. Chernov
2002-03-06Log:Maxim Konovalov
2002-02-04__printflike() should really be __printf0like() since verrx() canKris Kennaway
2002-02-04Add a __printflike() attribute to silence warning with FORMAT_AUDIT=1Kris Kennaway
2002-02-03Work around a buffer overflow problem on argv that has been exposedAkinori MUSHA
2002-02-02o __P has been reovedWarner Losh
2001-12-25strtoq -> strtoll (strtoq is deprecated)Andrey A. Chernov
2001-12-171) Localize (LC_CTYPE)Andrey A. Chernov
2001-12-14POSIX strto*() functions MAY return EINVAL, so don't assume that only oneAndrey A. Chernov
2001-11-19Fix style bugs I found, and add a comment.Akinori MUSHA
2001-11-19Oops sorry, forgot to add a #include.Akinori MUSHA
2001-11-19- Do not reference argv[1] if no argument is given.Akinori MUSHA
2001-11-17Make test(1) a builtin command of our sh(1) for efficiency. TheAkinori MUSHA
2001-05-20Silence WARNS=2 and BDECFLAGS on alpha and i386Kris Kennaway
2000-07-10Add support for 64bit integer comparisons.Stefan Eßer
1999-12-28Take into account the fact that "[" may be called with a path,Sheldon Hearn
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
1999-08-24Make the comments nice, short-but-sweet XXX format.Brian Feldman
1999-08-22Make a comment I added a bit nicer.Brian Feldman
1999-08-20Finally: fix test -x as completely as possible.Brian Feldman
1999-08-18The new test(1) did not use access() correctly. I don't know why, sinceBrian Feldman
1999-08-16Replace our test(1) with NetBSD's pdksh-derived version. The code isSheldon Hearn
1999-08-14Minor style fix - change 'if(!*v)' to 'if (!*v)'Chris Costello
1999-05-08Various spelling/formatting changes.Kris Kennaway