summaryrefslogtreecommitdiff
path: root/regress/usr.bin/rcs
AgeCommit message (Collapse)Author
2008-02-02Enable `rlog-rflag' test now that rlog output matches GNU RCS.Xavier Santolaria
2007-03-15When commiting multiple files with ci, the flags from the previousAlexander Bluhm
files affected the later ones. ok niallo@ xsa@
2007-02-22Fix regression tests. False positives happened whenever the date/timeRay Lai
contained 1.3, 1.4, or 1.5. ``hahahahahaha'' joris@.
2006-09-19- bump ulimit -d value for EOF test case so that it works on amd64 and ↵Niall O'Higgins
sparc64 (thanks to pedro@ for testing on his sparc64). - use ${.CURDIR} to make this work properly with an obj/ dir.
2006-08-29fix output location of truncated files testDavid Krause
ok niallo@ deraadt@
2006-08-23- add regression test for rcs parser's handling of truncated files.Niall O'Higgins
ok xsa@
2006-08-11add tests for merge -e; OK ray@.Xavier Santolaria
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-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-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-26DIFF=diff -uXavier Santolaria
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-20add various tests for `rlog -r' (not enabled yet); OK ray@.Xavier Santolaria
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-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-21add tests for `rcs -a' and `rcs -e', just not enabled yet.Xavier Santolaria
"Looks good" ray@.
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-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-12Remove $Id$ tags, which broke regression tests were are not reallyRay Lai
necessary for the tests. ok niallo
2006-03-11RCS regression tests.Ray Lai
ok joris, niallo, otto, and xsa