Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test case for read-only array being not that read-only in ksh. | 2021-03-05 | 1 | -1/+14 | |
| | | | | okay tb@ | ||||
* | Fix test after change of wmesg. | 2020-12-25 | 1 | -0/+0 | |
| | |||||
* | Use regress framework. | 2020-12-18 | 2 | -13/+16 | |
| | |||||
* | Remove echo headlines. | 2020-12-17 | 2 | -8/+2 | |
| | |||||
* | As in emacs.sh -r1.11 by jca, don't test the behavior of ^L. With | 2020-09-20 | 1 | -3/+2 | |
| | | | | millert's clear-screen change in vi.c -r1.57 it now depends on $TERM | ||||
* | Adapt regress to IFS splitting correction (eval.c -r1.66) | 2020-09-13 | 1 | -3/+3 | |
| | | | | From Martijn Dekker | ||||
* | Add support for set -o pipefail | 2020-07-07 | 1 | -1/+89 | |
| | | | | | | | | | | | | | | | | With the pipefail option set, the exit status of a pipeline is 0 if all commands succeed, or the return status of the rightmost command that fails. This can help stronger error checking, but is not a silver bullet. For example, commands will exhibit a non-zero exit status if they're killed by a SIGPIPE when writing to a pipe. Yet pipefail was considered useful enough to be included in the next POSIX standard. This implementation remembers the value of the pipefail option when a pipeline is started, as described as option 1) in https://www.austingroupbugs.net/view.php?id=789#c4102 Requested by ajacoutot@, ok millert@ | ||||
* | Add test covering revision 1.64 of c_sh, fix exit code of compound lists | 2020-05-22 | 1 | -1/+12 | |
| | | | | while using option e. | ||||
* | All ed(1) tests which were disabled before, have been inspected and | 2020-01-09 | 1 | -25/+21 | |
| | | | | | fixed. Some tests fail due to missing POSIX compliance as documented in the readme. Mark them as expected failures. | ||||
* | Don't test the behavior of ^L as it depends on $TERM | 2019-04-03 | 1 | -5/+1 | |
| | | | | Suggested by anton@ | ||||
* | a handful of new tests related to expr.c rev. 1.34 | 2019-02-21 | 1 | -0/+63 | |
| | |||||
* | Fix kill [-SIGNAME | -s SIGNAME] and simplify | 2018-12-08 | 1 | -2/+1 | |
| | | | | | | While the code intended to support both -s NAME and -s SIGNAME, the tests performed were wrong. Replace convoluted code with less cryptic conditionals. ok anton@ | ||||
* | Basic regress test for kill -s SIG[NAME] (now failing) | 2018-12-08 | 1 | -1/+9 | |
| | | | | Prodded by anton@ | ||||
* | test that PWD and OLDPWD are exported | 2018-09-29 | 1 | -1/+12 | |
| | |||||
* | Add a test related to variable expansion that used to trigger the segfault seen | 2018-07-09 | 1 | -1/+4 | |
| | | | | | | in the installer. from tb@ | ||||
* | Add test covering variable expansion referencing multiple read-only variables. | 2018-07-08 | 1 | -1/+14 | |
| | |||||
* | After the fix to kvm_getargv(3)/kvm_getenv(3) on May 3, | 2018-05-09 | 1 | -0/+0 | |
| | | | | | | the command name is printed in a more logical way for -e without -c. Adjust the tests accordingly. Requested by bluhm@. | ||||
* | Add test for proper stack reallocation in time command | 2018-04-24 | 1 | -1/+12 | |
| | | | | OK jca | ||||
* | Support 64 bit integers on 32 bit architectures. | 2018-04-09 | 1 | -0/+11 | |
| | | | | | | | No binary change on amd64 and there should be no differences on any other 64 bit architecture either (because long = int64_t). ok cheloha, tb | ||||
* | Support integers of arbitrary length. | 2018-04-02 | 1 | -1/+12 | |
| | | | | | | | Previously it was possible to overflow integers while parsing. With this diff, we support any kind of POSIX-compatible integers for comparisons. with input by and ok schwarze, ok tb | ||||
* | a few more edge case tests, aiming for complete coverage | 2018-03-31 | 1 | -1/+21 | |
| | |||||
* | Fix overflows while handling 64 bit integers. | 2018-03-31 | 3 | -2/+119 | |
| | | | | | | Based on FreeBSD's expr and NetBSD's old regression test suite. with input by and ok schwarze | ||||
* | Link ed regress to build. | 2018-01-14 | 1 | -2/+2 | |
| | |||||
* | Run the tests provided in /usr/src/bin/ed/test with the regress | 2018-01-14 | 1 | -0/+74 | |
| | | | | | | framework. Three ed tests are currently failing for unknown reasons. They are marked as disabled for now. from Sergey Bronnikov | ||||
* | Fix tyops | 2018-01-12 | 1 | -2/+2 | |
| | |||||
* | Add tests for [[:foo:]] character classes in globs | 2018-01-12 | 1 | -0/+31 | |
| | |||||
* | Add basic tests for octal and hex notation in arithmetic expansions | 2018-01-12 | 1 | -0/+44 | |
| | | | | | POSIX requires only decimal, octal and hex, tests for the $((x#number)) notation could be useful too. | ||||
* | Add tests for the environment related commands in csh. While here, print a | 2017-12-18 | 3 | -3/+26 | |
| | | | | descriptive header before each test, inspired by the many others in regress. | ||||
* | Add tests for emacs editing mode in ksh. While here, improve the output on test | 2017-11-21 | 2 | -12/+245 | |
| | | | | failure. | ||||
* | Do not exit 0 if the program was terminated due to receipt of a signal other | 2017-11-21 | 1 | -2/+11 | |
| | | | | than SIGHUP. | ||||
* | Add a variable referencing the csh binary to test. | 2017-11-16 | 2 | -4/+7 | |
| | |||||
* | Add tests for history load from file. | 2017-10-23 | 1 | -1/+39 | |
| | |||||
* | Run all ksh tests with MALLOC_OPTIONS=S | 2017-10-23 | 1 | -6/+9 | |
| | |||||
* | Add HISTCONTROL tests. | 2017-08-31 | 1 | -1/+61 | |
| | |||||
* | Make the edit regress tests respect the KSH variable just like the main regress | 2017-08-22 | 4 | -7/+13 | |
| | | | | | | | | tests. Makes it easier to run all tests using another binary: $ pwd /usr/src/regress/bin/ksh $ make KSH=/usr/src/bin/ksh/obj/ksh | ||||
* | Use the login name from id -p to compare with ps -o login. This | 2017-08-12 | 1 | -2/+2 | |
| | | | | makes the test pass when invoked by doas. | ||||
* | Add missing RCS IDs and zap redundant SRCS from Makefile. | 2017-07-22 | 6 | -1/+11 | |
| | |||||
* | The first version of the edit program used to test csh, ksh and mail was based | 2017-07-19 | 5 | -79/+111 | |
| | | | | | | | | | | | | | | | on the following reasoning: once the program to test has written some data it has entered the main-loop and is by now ready to receive user input. At this point it should be safe to start writing input and once the program once again enters a blocking reading state, its done processing the input. This approach was sensitive to timing and determining when a shell is done processing its input (if ever) is tricky. This iteration of the edit program takes a new approach and uses presence of a prompt for synchronisation of I/O. It doesn't solve all problems but is a step in the right direction. Joint work with bluhm@ | ||||
* | anton@ has fixed the test script so that it can run as root. Remove | 2017-07-06 | 1 | -6/+4 | |
| | | | | my workaround that switched to build user. | ||||
* | Do not suppress what's going on. | 2017-07-06 | 1 | -1/+1 | |
| | |||||
* | Add tests for all features of file completion in csh. | 2017-07-06 | 1 | -9/+14 | |
| | |||||
* | Favor a UID-agnostic prompt in ksh edit mode tests. Allows the tests to pass | 2017-07-05 | 2 | -111/+111 | |
| | | | | | | when executed as root. Spotted by bluhm@ | ||||
* | Revert previously added tests for file completion that are currently failing. | 2017-07-05 | 2 | -26/+1 | |
| | | | | Prodded by bluhm@ | ||||
* | Add tests for file completion in ksh emacs mode, currently failing. | 2017-07-05 | 2 | -4/+29 | |
| | | | | While here, pass the v option to hexdump in order to output all data. | ||||
* | Switch to build user if run as root. Prompt output $ or # affects test. | 2017-07-04 | 1 | -2/+5 | |
| | |||||
* | Backout previous due to a bug discovered by zhuk@ that requires some tinkering | 2017-07-04 | 1 | -0/+14 | |
| | | | | and is not an easy fix for now. | ||||
* | Add support for pattern substitution to variables in ksh using a common syntax | 2017-07-04 | 1 | -0/+133 | |
| | | | | | | borrowed from ksh93. Survived a ports build performed by naddy@ and encouraged by many. | ||||
* | Capture SIGINT and print out all received output so far. Useful when debugging | 2017-06-25 | 1 | -7/+9 | |
| | | | | broken tests. | ||||
* | Make sure to abort loops when pressing ^C in csh. | 2017-06-22 | 1 | -0/+1 | |
| | | | | Regression found by deraadt@ | ||||
* | Add regression tests for the filec feature in csh. | 2017-06-21 | 3 | -2/+120 | |
| |