summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
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@
2006-03-24add test for `rcs -Aoldfile'; not enabled yet. ray@ likes it.Xavier Santolaria
2006-03-24Allow the -x flag to be used without an extension.Ray Lai
``that makes sense'' xsa@
2006-03-23Missing CLEANFILES.Ray Lai
``i guess so'' xsa@
2006-03-22The regression test currently fails, which it should. This adds aRay Lai
check to make sure it fails with an expected error. Help with make-fu by espie@. OK otto@
2006-03-21add tests for `rcs -a' and `rcs -e', just not enabled yet.Xavier Santolaria
"Looks good" ray@.
2006-03-20add limited support for format builtin in gnu-m4 mode, because I'm fedMarc Espie
up of patching it away in various autoconf derivatives. okay miod@
2006-03-20Add a regression test for false positive with ((x == y) == z), fixed inChad Loder
r1.31 of usr.bin/xlint/lint1/tree.c
2006-03-17cleanup; OK ray@.Xavier Santolaria
2006-03-16Quiet, please.Ray Lai
``sure.'' xsa and ``Yup, thats cool.'' niallo
2006-03-15Fix and enable rcsmerge test.Ray Lai
rcsmerge stuff ok niallo
2006-03-14Re-enable RCS regression tests at mickey and niallo's request.Ray Lai
2006-03-14ci currently doesn't parse the -x flag at all, defaulting to ",v/" everyRay Lai
time. I rewrote checkin_choose_rcsfile() to handle it using these rules: - If a directory structure is given (ci -x,abcd dir/dir2/file) then all RCS files are under dir/dir2. - If the RCS/ directory exists, use it. Otherwise use current directory. - If the -x flag is specified, use those slash-separated extensions. Otherwise, use the default (",v/"). - Look in the rcs directory (RCS/ or current directory) for a file with a matching extension, for each extension. Each extension is tried in order. If a file exists, it is used. If no file exists with any extension, the first one is used. - The empty extension is treated as no extension, because I can't figure out what its special meaning is. It sounds complicated, and the code is kinda complicated as well, but it makes sense if you think about it. ok niallo
2006-03-14OpenRCS currently strips any text in a filename up to and includingRay Lai
the last comma, assuming that it is a `,v' extension. GNU RCS does not do this. This removes that check. ok niallo
2006-03-13regress test for various ssh-keygen IETF conversion line terminators; ok djm@Darren Tucker
2006-03-13back out previousDarren Tucker
2006-03-13regress test for alternate line terminations for IETF key conversion, ok djm@Darren Tucker
2006-03-12Remove $Id$ tags, which broke regression tests were are not reallyRay Lai
necessary for the tests. ok niallo
2006-03-11Disable RCS regression tests since RCS is not linked yet.Ray Lai
ok niallo
2006-03-11RCS regression tests.Ray Lai
ok joris, niallo, otto, and xsa
2006-03-10Hook up cap_mkdb test.Ray Lai
2006-03-10Regression test for truncated file.Ray Lai
ok otto and millert
2006-03-05Enable more tests now that sdiff handles stdin; from RayOtto Moerbeek
2006-02-21hook sdiffOtto Moerbeek
2006-02-21sdiff regress tests from RayOtto Moerbeek
2006-02-14fix regress test on sparc64. help & ok millert@ cloder@Moritz Jodeit
2006-01-31regress test for "scp a b c" where "c" is not a directoryDamien Miller
2006-01-31regression test for CVE-2006-0225 written by dtucker@Damien Miller
2006-01-27regress test for local to local scp copies; ok dtucker@Damien Miller
2005-12-17Add some tests with modulus operator tooChad Loder
2005-12-16Add a regression test for lint catching division by zero.Chad Loder