summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
2006-08-02- add regression tests for two problems with keyword parsing.Niall O'Higgins
ok ray@
2006-07-29Add regression test for files with lots of keywords.Ray Lai
OK xsa@
2006-07-28Remove $Log$ check from keyword expansion test, which is the onlyRay Lai
keyword we don't do yet. Now we can enable the test. OK niallo@
2006-07-22Test that PermitOpen after a Match overrides global setting; ok djm@Darren Tucker
2006-07-19Add a couple of files missing from the cleanup listDarren Tucker
2006-07-19Add regress test for ForceCommandDarren Tucker
2006-07-17Regress test for Match + PermitOpen. ok djm@Darren Tucker
2006-07-11add test for ExitOnForwardFailure=yesMarkus Friedl
2006-07-06in this test, $SUDO is not used to gain privileges but to switch to nobody.Alexander von Gernler
thus, we need the SUDO variable to be set. if not set, the test would also pass ok, but only because exit status 2 and 127 looked the same to the test. ok markus@
2006-07-03Revert last commit by request of otto.Jonathan Gray
Contents of comments are obviously part of the diff tests.
2006-07-03Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999.
2006-06-02Reflect -r1.43 of lint1/tree.cChad Loder
2006-06-02Initial regress for file(1); not hooked in yet; looked at by cloder.Ian Darwin
2006-05-28The '-c' option is no longer the default in LINTFLAGS, so update theChad Loder
output of this test
2006-05-28We pull in LINTFLAGS from sys.mk, no need to reproduce it hereChad Loder
2006-05-05test pointer castsOtto Moerbeek
2006-05-05SEGVs have been fixed, so include proper expected outputOtto Moerbeek
2006-05-05o GNU ci returns 0 when a file is reverted (co -l file; ci file).Ray Lai
o Don't unlock file after revert. o Fix spelling. Passes extra tests in GNU rcstest. OK niallo@.
2006-05-05Output to a different filename so the tests work without an obj/Ray Lai
directory. Also change diff -u to ${DIFF}. OK xsa@
2006-05-03Add some regress tests for lint1 crashes which are not solved yetChad Loder
2006-05-03more test casesOtto Moerbeek
2006-05-01- add tests for -oranges.Niall O'Higgins
ok joris@
2006-04-29Add tests for keywords in ci, not enabled yet. We are still missingRay Lai
$Log$ functionality. OK xsa@
2006-04-28add another variant of `rlog -z' usage (still not enabled);Xavier Santolaria
2006-04-28add various tests for `rlog -z' (not enabled yet);Xavier Santolaria
2006-04-28remove p flag from LINTFLAGS; ok cloder@Otto Moerbeek
2006-04-27Make test use explicit signed char, instead of just char. We'll makeOtto Moerbeek
unspecified char tests later, when lint is smarter about char that. Discussed with cloder@
2006-04-27Add test for "expression has null effect" warnings.Otto Moerbeek
2006-04-26DIFF=diff -uXavier Santolaria
2006-04-26Reflect prettier function names change in lint warningsChad Loder
2006-04-25Back out previous tests, the keywords all expanded and destroyedRay Lai
my tests.
2006-04-25Regression tests for keywords for ci.Ray Lai
OK xsa@
2006-04-25Reflect latest lint commit, which fixes many type conversion falseChad Loder
positives and negatives.
2006-04-25A new, very exhaustive type conversion regression test.Chad Loder
2006-04-21Regression test for lint crash dealing with break outside a switch or aChad Loder
loop. Found by dlg
2006-04-20add various tests for `rlog -r' (not enabled yet); OK ray@.Xavier Santolaria
2006-04-20Test for (soon to be coming) LINTUSED special commentChad Loder
2006-04-20Test case for unreachable breaksChad Loder
2006-04-20Reflect new warning formatChad Loder
2006-04-17quiet a bit more test-rcs-iflag;Xavier Santolaria
2006-04-17Relieve checkin_update and checkin_init of the responsibility ofRay Lai
calling rcs_close() so we don't try to rcs_close() the same file twice if the working file does not exist, resulting in a core dump. The current code also returns the status of the last file, so if we do: $ touch file $ ci nonexistent file that will return 0. GNU returns 1. Fix that. Additionally, it returns -1 on error, which turns into 255. It should return 1. OK niallo@
2006-04-16Reflect -p now missing from LINTFLAGSChad Loder
2006-04-14Regression tests for rlog -l.Ray Lai
OK joris@
2006-04-13Regression tests for ci and co for revision-less RCS files.Ray Lai
OK joris@
2006-04-13Somehow the regression tests and commit message were both gone fromRay Lai
the last commit. This adds the missing symbols regression tests. Also includes an rcsclean regression test. Previous commit, which included these tests, OK joris@
2006-04-12Better match GNU behavior for rcs -l and rcs -u.Ray Lai
Save 2 bytes of newlines. OK joris@
2006-04-01Add rcs -l, rcs -u, and regression tests.Ray Lai
``put it all in'' joris@
2006-03-28enable the following tests:Xavier Santolaria
- rcs-aflag - rcs-eflag - rcs-Aflag
2006-03-27- add regression tests for file mode support.Niall O'Higgins
ok ray@
2006-03-27Fix and clean up -t flag:Ray Lai
- Add comments. - Support -t-inline-comments-like-man-page-says. - -tfilename still works. - When using -t (read description from stdin) don't end when first character is `.'. Instead, end if whole line consists of one `.'. - Add regression test. I also changed the regression Makefile to have a trailing slash on the final element. As long as we have a blank line it will be fine, plus it will save us some trouble when adding new tests. After adding line breaks, ``rest looks fine.'' xsa@