aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/usr.bin/uuencode
Commit message (Collapse)AuthorAgeFilesLines
* Migrate most of tools/regression/usr.bin/ to the new tests layout.Julio Merino2014-03-166-192/+0
| | | | | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately. Notes: svn path=/head/; revision=263227
* Switch over to a different, more flexible test output protocol that'sNik Clayton2004-11-112-0/+8
| | | | | | | | | | | | | | | | | | | | | | | understood by Perl's Test::Harness module and prove(1) commands. Update README to describe the new protocol. The work's broken down into two main sets of changes. First, update the existing test programs (shell scripts and C programs) to produce output in the ok/not ok format, and to, where possible, also produce a header describing the number of tests that are expected to be run. Second, provide the .t files that actually run the tests. In some cases these are copies of, or very similar too, scripts that already existed. I've kept the old scripts around so that it's possible to verify that behaviour under this new system (in terms of whether or not a test fails) is identical to the behaviour under the old system. Add a TODO file. Notes: svn path=/head/; revision=137587
* Convert straightforward regression tests to use regress.m4.Juli Mallett2002-06-242-27/+5
| | | | | | | Goodbye, duplicated code, you will certainly not be missed. Notes: svn path=/head/; revision=98754
* Regenerate with new output grouping in uuencode -m.Juli Mallett2002-05-171-86/+72
| | | | Notes: svn path=/head/; revision=96811
* Redirect stdin from the input file, rather than passing the input file toJuli Mallett2002-04-271-6/+4
| | | | | | | | | | | uuencode(1), and set a umask, so that the mode in the header is predictable. If it varies, then the test is right to fail. Remove the note about this test falsely failing, with that in mind. Notes: svn path=/head/; revision=95542
* Prefix tests with PASS and FAIL, to make grepping easier, and note this inJuli Mallett2002-04-271-2/+2
| | | | | | | | | the README. This affects only the base-system regression tests, of course. Notes: svn path=/head/; revision=95538
* Only exit at the end of a test, exit with the last value of $? that was not 0.Juli Mallett2002-04-211-1/+5
| | | | | | | | This way the entire regression test is looked at as a pass/fail, not just one sub-test. Notes: svn path=/head/; revision=95166
* Add a comment regarding the file header, and the mode that the file is createdJuli Mallett2002-04-201-0/+5
| | | | | | | | | | with. This should be fixed shortly by adding the (desirable) option to set the file creation mode on the command line. Notes: svn path=/head/; revision=95141
* Add uuencode(1) and uudecode(1) regression test input and output.Juli Mallett2002-04-203-0/+183
| | | | Notes: svn path=/head/; revision=95140
* Start adding framework for userland regression tests, and tests forJuli Mallett2002-04-202-0/+30
uuencode and uudecode. Notes: svn path=/head/; revision=95138