Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-02 | Support integers of arbitrary length. | Tobias Stoeckmann | |
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 | |||
2018-03-31 | a few more edge case tests, aiming for complete coverage | Ingo Schwarze | |
2018-03-31 | Fix overflows while handling 64 bit integers. | Tobias Stoeckmann | |
Based on FreeBSD's expr and NetBSD's old regression test suite. with input by and ok schwarze | |||
2018-01-14 | Link ed regress to build. | Alexander Bluhm | |
2018-01-14 | Run the tests provided in /usr/src/bin/ed/test with the regress | Alexander Bluhm | |
framework. Three ed tests are currently failing for unknown reasons. They are marked as disabled for now. from Sergey Bronnikov | |||
2018-01-12 | Fix tyops | Jeremie Courreges-Anglas | |
2018-01-12 | Add tests for [[:foo:]] character classes in globs | Jeremie Courreges-Anglas | |
2018-01-12 | Add basic tests for octal and hex notation in arithmetic expansions | Jeremie Courreges-Anglas | |
POSIX requires only decimal, octal and hex, tests for the $((x#number)) notation could be useful too. | |||
2017-12-18 | Add tests for the environment related commands in csh. While here, print a | anton | |
descriptive header before each test, inspired by the many others in regress. | |||
2017-11-21 | Add tests for emacs editing mode in ksh. While here, improve the output on test | anton | |
failure. | |||
2017-11-21 | Do not exit 0 if the program was terminated due to receipt of a signal other | anton | |
than SIGHUP. | |||
2017-11-16 | Add a variable referencing the csh binary to test. | anton | |
2017-10-23 | Add tests for history load from file. | anton | |
2017-10-23 | Run all ksh tests with MALLOC_OPTIONS=S | anton | |
2017-08-31 | Add HISTCONTROL tests. | anton | |
2017-08-22 | Make the edit regress tests respect the KSH variable just like the main regress | anton | |
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 | |||
2017-08-12 | Use the login name from id -p to compare with ps -o login. This | Alexander Bluhm | |
makes the test pass when invoked by doas. | |||
2017-07-22 | Add missing RCS IDs and zap redundant SRCS from Makefile. | anton | |
2017-07-19 | The first version of the edit program used to test csh, ksh and mail was based | anton | |
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@ | |||
2017-07-06 | anton@ has fixed the test script so that it can run as root. Remove | Alexander Bluhm | |
my workaround that switched to build user. | |||
2017-07-06 | Do not suppress what's going on. | anton | |
2017-07-06 | Add tests for all features of file completion in csh. | anton | |
2017-07-05 | Favor a UID-agnostic prompt in ksh edit mode tests. Allows the tests to pass | anton | |
when executed as root. Spotted by bluhm@ | |||
2017-07-05 | Revert previously added tests for file completion that are currently failing. | anton | |
Prodded by bluhm@ | |||
2017-07-05 | Add tests for file completion in ksh emacs mode, currently failing. | anton | |
While here, pass the v option to hexdump in order to output all data. | |||
2017-07-04 | Switch to build user if run as root. Prompt output $ or # affects test. | Alexander Bluhm | |
2017-07-04 | Backout previous due to a bug discovered by zhuk@ that requires some tinkering | anton | |
and is not an easy fix for now. | |||
2017-07-04 | Add support for pattern substitution to variables in ksh using a common syntax | anton | |
borrowed from ksh93. Survived a ports build performed by naddy@ and encouraged by many. | |||
2017-06-25 | Capture SIGINT and print out all received output so far. Useful when debugging | anton | |
broken tests. | |||
2017-06-22 | Make sure to abort loops when pressing ^C in csh. | anton | |
Regression found by deraadt@ | |||
2017-06-21 | Add regression tests for the filec feature in csh. | anton | |
2017-06-20 | Fix EOL tests for ksh vi mode. | anton | |
2017-06-18 | Don't write input if ICANON is enabled. Also, write one byte at a time. | anton | |
2017-06-17 | Pass the command to execute as an argument. Allows the edit program to be | anton | |
reused. | |||
2017-06-06 | Test insertion of unmatched meta sequence. | anton | |
2017-06-05 | Test insertion of non-ASCII characters, in particular making sure | Ingo Schwarze | |
that valid input does not cause writing invalid intermediate states to the terminal, and that invalid input is not delayed waiting for more input, but written through right away. Currently failing, but expected to be fixed shortly. | |||
2017-06-05 | Add new edit regress files. | anton | |
Absent from my previous commit. | |||
2017-06-05 | Rewrite ksh edit mode regression tests. | anton | |
Instead of calling x_vi() directly, run ksh in a pseudo tty. This makes the process of adding tests for emacs mode simpler since the code can be shared. With feedback and help from millert@ and schwarze@ | |||
2017-05-31 | Allow replacement of UTF-8 characters in vi mode. | anton | |
Reported by Walter Alejandro Iglesias on tech@. ok schwarze@ tb@ | |||
2017-05-28 | Fix cursor position while removing characters from the command line. | anton | |
While here, remove a condition that becomes redundant. ok schwarze@ tb@ | |||
2017-02-25 | Add missing includes to avoid implicit function declarations. | Jonathan Gray | |
2017-02-18 | Add a regress test for the chflags problem analogous to the chmod bug | Theo Buehler | |
found by Christopher Wellons (see chmod.c r1.41). | |||
2017-02-17 | Add tests for chmod's interaction with symlinks: missing tests for -h and | Theo Buehler | |
add tests for the regression introduced in chmod.c r1.33 that transferred the permissions from the link to the target file in some circumstances. There are no tests for chflags since I couldn't come up with testcases without undesirable side-effects like breaking make clean. Four of these tests fail and will be fixed in the upcoming r1.40 to chmod. Prompted by a bug report from Christopher Wellons | |||
2016-12-11 | Remove and-list-error-3 test, it is obsoleted by seterror-11 | Todd C. Miller | |
2016-12-11 | Fixes descriptions for seterror tests 1, 2 and 4. | Todd C. Miller | |
Add seterror tests 8-10 for better "set -e" coverage. Add seterror-11 test to exercise the bug with "set -e" and short-ciruited "&&" chains. From Kartik Agaram | |||
2016-09-29 | If a Makefile both defines SUBDIR and includes <bsd.regress.mk>, | Ingo Schwarze | |
the "all" target will depend on the "regress" target, so running "make all" will recurse into the subdirectories for "regress", and then recurse a second time into the same subdirectories for "all", running all the tests twice. Fix this by moving the Makefile to run the main-level tests into a subdirectory "main" and only including <bsd.subdir.mk> from the top level Makefile. Issue reported by otto@; patch OK'ed by otto@ and bluhm@. | |||
2016-09-27 | Adjusts some patterns, so that the warning messages ksh prints if | Alexander Bluhm | |
it has no controlliing tty is not causing the test to fail. based on otto@'s work; OK otto@ | |||
2016-09-27 | fix dependency, fixing regress if make regress is called with a clean obj | Otto Moerbeek | |
(like the parent does). When make is called in the parent dir, both make regress and make all are called for the vi subdir. Need to figure out how to avoid that. | |||
2016-09-21 | Fix a race in test. Wait until the process shown by ps is really | Alexander Bluhm | |
up and running. | |||
2016-07-05 | Some new tests related to bin/cat.c rev. 1.25, | Ingo Schwarze | |
from Sevan Janiyan <venture37 at geeklan dot co dot uk>. |