Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace -b with -C and -B (as proposed by Alexander). | edwin | 2010-03-21 | 1 | -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. | kib | 2010-03-16 | 5 | -17/+37 |
| | | | | MFC after: 3 days | ||||
* | Add missing headers. | kib | 2010-03-16 | 1 | -0/+3 |
| | | | | MFC after: 3 days | ||||
* | sh: Do not abort on a redirection error on a compound command. | jilles | 2010-03-14 | 2 | -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). | jilles | 2010-03-14 | 1 | -0/+5 |
| | |||||
* | Remove dot at the end of errx() message. | kib | 2010-03-14 | 1 | -1/+1 |
| | | | | | Noted by: bde MFC after: 3 days | ||||
* | Adjust style, fix typo, do not print errno because it is meaningless there. | kib | 2010-03-14 | 1 | -1/+2 |
| | | | | | | This test fails for now. MFC after: 3 days | ||||
* | Make it compile on LP64 arches. | kib | 2010-03-14 | 1 | -4/+8 |
| | | | | MFC after: 3 days | ||||
* | Create regression tests for ncal: | edwin | 2010-03-14 | 93 | -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. | jilles | 2010-03-13 | 1 | -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). | jilles | 2010-03-13 | 1 | -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 `. | jilles | 2010-03-12 | 1 | -0/+43 |
| | |||||
* | sh: Add some testcases for ${v=w}, ${v-w}, ${v+w}. | jilles | 2010-03-07 | 2 | -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. | jilles | 2010-03-07 | 1 | -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. | jilles | 2010-03-06 | 1 | -0/+14 |
| | |||||
* | sh: Make sure to popredir() even if a special builtin caused an error. | jilles | 2010-03-06 | 1 | -0/+14 |
| | |||||
* | sh: Improve the command builtin: | jilles | 2010-03-06 | 3 | -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. | jh | 2010-03-05 | 8 | -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 from | joel | 2010-03-03 | 3 | -21/+0 |
| | | | | | | their software. Obtained from: NetBSD | ||||
* | The NetBSD Foundation has granted permission to remove clause 3 and 4 from | joel | 2010-03-02 | 24 | -168/+0 |
| | | | | | | their software. Obtained from: NetBSD | ||||
* | The NetBSD Foundation has granted permission to remove clause 3 and 4 from | joel | 2010-03-02 | 1 | -7/+0 |
| | | | | | | their software. Obtained from: NetBSD | ||||
* | Always assign WARNS using ?= | uqs | 2010-03-02 | 5 | -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. | ru | 2010-02-25 | 23 | -25/+32 |
| | |||||
* | Update the sendfile regression test so that it outputs results in the | brucec | 2010-02-24 | 2 | -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. | attilio | 2010-02-20 | 2 | -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, | jilles | 2010-02-17 | 1 | -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. | jilles | 2010-02-17 | 1 | -0/+1 |
| | |||||
* | Add missing newline in last line of file. | uqs | 2010-02-16 | 1 | -1/+1 |
| | | | | | Uncovered via: fromcvs vs. svn Approved by: ed (co-mentor) | ||||
* | - Implement -q option for pgrep(1). | pjd | 2010-02-12 | 1 | -0/+38 |
| | | | | - Add regression test to test -q option. | ||||
* | Fixed error checking of pthread(3) functions. | ru | 2010-02-12 | 2 | -2/+2 |
| | | | | | PR: 143807 Submitted by: pluknet (partly) | ||||
* | sh: Make sure the mail2.0 test can actually fail if $MAIL is not touched. | jilles | 2010-02-08 | 1 | -1/+1 |
| | |||||
* | sh: Do not stat() $MAIL/$MAILPATH in non-interactive shells. | jilles | 2010-02-06 | 2 | -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. | davidxu | 2010-01-07 | 1 | -2/+2 |
| | | | | The fourth specifies initial value for the semaphore. | ||||
* | Add test code for POSIX semaphore implementation. | davidxu | 2010-01-05 | 2 | -0/+110 |
| | |||||
* | Add ability to search up the directory hierarchy for the system directory. | obrien | 2010-01-04 | 19 | -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. | obrien | 2010-01-04 | 2 | -2/+2 |
| | |||||
* | There are actually 129 tests here. | obrien | 2010-01-04 | 1 | -1/+1 |
| | |||||
* | Catch up with UNIX98-style PTY's. | obrien | 2010-01-04 | 2 | -2/+8 |
| | |||||
* | 'prove -r' isn't as smart as grog thought. | obrien | 2010-01-04 | 1 | -9/+1 |
| | |||||
* | You need to be root to run this test. | obrien | 2010-01-04 | 1 | -0/+5 |
| | |||||
* | Also cleanup after the test run. | obrien | 2010-01-04 | 1 | -1/+3 |
| | |||||
* | Don't process 'lastcomm' if "AUTOMATED" is defined. | obrien | 2010-01-04 | 1 | -1/+4 |
| | | | | The tests for it require manual setup. | ||||
* | It is expected these are chmod +x. | obrien | 2010-01-04 | 2 | -0/+0 |
| | |||||
* | Regression test for r201456. | obrien | 2010-01-04 | 5 | -0/+25 |
| | |||||
* | sh: Send the "not found" message for builtin <cmd> to redirected fd 2. | jilles | 2010-01-03 | 1 | -0/+31 |
| | |||||
* | sh: Add a regression test that tries out all arithmetic ops. | jilles | 2010-01-03 | 1 | -0/+76 |
| | | | | MFC after: 1 week | ||||
* | Use t1 & t2 as more symbolic than 'a' and 'b' for the two times. | obrien | 2010-01-03 | 1 | -8/+6 |
| | |||||
* | Provide clean output with 'prove -r'. | obrien | 2010-01-03 | 1 | -2/+2 |
| | |||||
* | Hide expected error output so the 'prove -r' results are easy to read. | obrien | 2010-01-03 | 1 | -3/+3 |
| | |||||
* | Allow to be driven by 'prove -r'. | obrien | 2010-01-03 | 1 | -6/+10 |
| |