summaryrefslogtreecommitdiffstats
path: root/tools/regression
Commit message (Collapse)AuthorAgeFilesLines
* Replace -b with -C and -B (as proposed by Alexander).edwin2010-03-211-34/+37
| | | | | Add -3, -A and -B to the usage. Update regression test for the new parameters.
* Add missing headers. While there, arrange headers alphabetically.kib2010-03-165-17/+37
| | | | MFC after: 3 days
* Add missing headers.kib2010-03-161-0/+3
| | | | MFC after: 3 days
* sh: Do not abort on a redirection error on a compound command.jilles2010-03-142-0/+26
| | | | | | | | | | | | | | Redirection errors on subshells already did not abort the shell because the redirection is executed in the subshell. Other shells seem to agree that these redirection errors should not abort the shell. Also ensure that the redirections will be cleaned up properly in cases like command eval '{ shift x; } 2>/dev/null' Example: { echo bad; } </var/empty/x; echo good
* sh: Add test for redirection error on subshell (should not abort).jilles2010-03-141-0/+5
|
* Remove dot at the end of errx() message.kib2010-03-141-1/+1
| | | | | Noted by: bde MFC after: 3 days
* Adjust style, fix typo, do not print errno because it is meaningless there.kib2010-03-141-1/+2
| | | | | | This test fails for now. MFC after: 3 days
* Make it compile on LP64 arches.kib2010-03-141-4/+8
| | | | MFC after: 3 days
* Create regression tests for ncal:edwin2010-03-1493-1/+1332
| | | | | | | | | | | - A couple of tests to check if the layout of the generated calenders is correct. - A couple of tests to see if impossible combinations for -3, -A, -m, -y etc properly abort. - A couple of test to confirm that the order of -A, -B, -3 etc give the right number of months.
* sh: Do not abort on a redirection error if there is no command word.jilles2010-03-131-0/+7
| | | | | | | | | | | Although simple commands without a command word (only assignments and/or redirections) are much like special builtins, POSIX and most shells seem to agree that redirection errors should not abort the shell in this case. Of course, the assignments persist and assignment errors are fatal. To get the old behaviour portably, use the ':' special builtin. To get the new behaviour portably, given that there are no assignments, use the 'true' regular builtin.
* sh: Add test for assignment errors (e.g. trying to change a readonly var).jilles2010-03-131-0/+30
| | | | | | | We currently ignore readonly status for assignments before regular builtins and external programs (these assignments are not persistent anyway), so just check that the readonly variable really is not changed. The test depends on the command builtin changes for 'command :'.
* sh: Add tests for " and $ inside `.jilles2010-03-121-0/+43
|
* sh: Add some testcases for ${v=w}, ${v-w}, ${v+w}.jilles2010-03-072-0/+118
| | | | | | These expansions, which were already in the Bourne shell, work correctly for the most part. The testcases are only about the parts that already work correctly.
* sh: Add various testcases for here documents.jilles2010-03-071-0/+85
| | | | | | They are mainly about expansions in here documents but because all the testcases are in $() command substitution, we also test that $() command substitution is recursively parsed (or very close to it).
* sh: Make sure to popredir() even if a function caused an error.jilles2010-03-061-0/+14
|
* sh: Make sure to popredir() even if a special builtin caused an error.jilles2010-03-061-0/+14
|
* sh: Improve the command builtin:jilles2010-03-063-0/+154
| | | | | | | | * avoid unnecessary fork * allow executing builtins via command * executing a special builtin via command removes its special properties Obtained from: NetBSD (parts)
* - Use errx(3) instead of err(3) when checking if snprintf(3) succeeded.jh2010-03-058-1/+40
| | | | | | | | | | snprintf(3) doesn't set errno in the tested cases. - If the same argument reference (for example %1) was specified more than once, the command didn't necessarily fit to the final command buffer. Fix this using a dynamic sbuf buffer. Add a few regression tests for the case. PR: bin/95079 No objections: freebsd-hackers
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromjoel2010-03-033-21/+0
| | | | | | their software. Obtained from: NetBSD
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromjoel2010-03-0224-168/+0
| | | | | | their software. Obtained from: NetBSD
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromjoel2010-03-021-7/+0
| | | | | | their software. Obtained from: NetBSD
* Always assign WARNS using ?=uqs2010-03-025-5/+5
| | | | | | | - fix some nearby style bugs - include Makefile.inc where it makes sense and reduces duplication Approved by: ed (co-mentor)
* Fixed missing or broken library dependencies.ru2010-02-2523-25/+32
|
* Update the sendfile regression test so that it outputs results in thebrucec2010-02-242-169/+242
| | | | | | | | TAP format. Add a checksum to verify that the data hasn't been corrupted between being read from disk and being received. Approved by: rrs (mentor)
* Add a regression test for the kthread(9) interface.attilio2010-02-202-0/+214
| | | | | Submitted by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
* sh: arith: Add a test for a bug in the dash arith code,jilles2010-02-171-0/+14
| | | | | which I plan to import at some point. Our current code handles it fine and it should stay that way.
* sh: arith: Test an octal constant as well.jilles2010-02-171-0/+1
|
* Add missing newline in last line of file.uqs2010-02-161-1/+1
| | | | | Uncovered via: fromcvs vs. svn Approved by: ed (co-mentor)
* - Implement -q option for pgrep(1).pjd2010-02-121-0/+38
| | | | - Add regression test to test -q option.
* Fixed error checking of pthread(3) functions.ru2010-02-122-2/+2
| | | | | PR: 143807 Submitted by: pluknet (partly)
* sh: Make sure the mail2.0 test can actually fail if $MAIL is not touched.jilles2010-02-081-1/+1
|
* sh: Do not stat() $MAIL/$MAILPATH in non-interactive shells.jilles2010-02-062-0/+30
| | | | | These may be NFS mounted, and we should not touch them unless we are going to do something useful with the information.
* Don't forget to use fourth argument if O_CREAT is set in argument oflag.davidxu2010-01-071-2/+2
| | | | The fourth specifies initial value for the semaphore.
* Add test code for POSIX semaphore implementation.davidxu2010-01-052-0/+110
|
* Add ability to search up the directory hierarchy for the system directory.obrien2010-01-0419-0/+88
| | | | | | | Do by specifying ".../" with '-m' or MAKESYSPATH (new) environment variable. Reviewed by: <sjg@NetBSD.org> Obtained from: NetBSD (+ embellishment by me, sent back to NetBSD)
* Fix formatting.obrien2010-01-042-2/+2
|
* There are actually 129 tests here.obrien2010-01-041-1/+1
|
* Catch up with UNIX98-style PTY's.obrien2010-01-042-2/+8
|
* 'prove -r' isn't as smart as grog thought.obrien2010-01-041-9/+1
|
* You need to be root to run this test.obrien2010-01-041-0/+5
|
* Also cleanup after the test run.obrien2010-01-041-1/+3
|
* Don't process 'lastcomm' if "AUTOMATED" is defined.obrien2010-01-041-1/+4
| | | | The tests for it require manual setup.
* It is expected these are chmod +x.obrien2010-01-042-0/+0
|
* Regression test for r201456.obrien2010-01-045-0/+25
|
* sh: Send the "not found" message for builtin <cmd> to redirected fd 2.jilles2010-01-031-0/+31
|
* sh: Add a regression test that tries out all arithmetic ops.jilles2010-01-031-0/+76
| | | | MFC after: 1 week
* Use t1 & t2 as more symbolic than 'a' and 'b' for the two times.obrien2010-01-031-8/+6
|
* Provide clean output with 'prove -r'.obrien2010-01-031-2/+2
|
* Hide expected error output so the 'prove -r' results are easy to read.obrien2010-01-031-3/+3
|
* Allow to be driven by 'prove -r'.obrien2010-01-031-6/+10
|
OpenPOWER on IntegriCloud