summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2017-07-19The first version of the edit program used to test csh, ksh and mail was basedanton
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-19Fix failing tests when executed as a user without a ~/.mailrc configuration ↵anton
file. While here, fix a flaky test.
2017-07-19Regression tests asserting various HFSC and FQ-CoDel functionalityMike Belopuhov
2017-07-18The function getaddr() compares the stack address of the callerAlexander Bluhm
with its own local variable. This way it detects the direction of stack growth. This does not work if the functions gets inlined. Pass -fno-inline to the compiler to avoid sporadic tests fails.
2017-07-16Provide a new regress test for TLS extension handlers, currently coveringJoel Sing
the newly converted SNI code.
2017-07-16fix datesIngo Schwarze
2017-07-16test -diag -width and -inset -widthIngo Schwarze
2017-07-15Add a test that covers the recently fixed "0x" prefix handling issue.Joel Sing
2017-07-15Catch up with eqn.c rev. 1.41 by bentley@:Ingo Schwarze
Print the right character for mathematical overbar.
2017-07-15regress/sbin/pfctl - use -n for pfcmd groupAdam Wolk
Passing in the -n which just results in the rules being parsed. The definition for the pfctlcmd testing group in the Makefile is: # pfcmd: test pfctl command line parsing This test passeed only because pfctl didn't exit with an error when it was asked to clear tables from a non existing anchor. with the -n flag we still test if the anchor command can be combined with -Fa but don't actually attempt to run the clearing code. OK mikeb@, sashan@
2017-07-14adapt to hex format of character entities,Ingo Schwarze
committed by bentley@ in html.c rev. 1.86
2017-07-14Do not mix Perl read() with sysread(). Data could get stuck in theAlexander Bluhm
buffered IO and test run-regress-args-http-chunked.pl would fail on slow hardware. Limit debug output to one line per 1% of data. Improve function write_syswrite(). Sync with httpd regress. Fix whitespace.
2017-07-14Do not mix Perl read() with sysread(). Data could get stuck in theAlexander Bluhm
buffered IO and test run-regress-args-get-1073741824.pl would fail on slow hardware. Introduce a common function read_part() that uses Perl read(). Limit debug output to one line per 1% of data. Remove unused function http_server(). Fix whitespace. Cleanup Makefile.
2017-07-14Add regression tests for ifstated.Sebastian Benoit
Not hooked into regress/usr.sbin/Makefile yet. From Rob Pierce <rob@2keys.ca>
2017-07-13Round VM_MAXUSER_ADDRESS down to next page to make mmap_hint regressAlexander Bluhm
pass on sparc64.
2017-07-13Improve error messages of siginfo-fault regress to make clear whichAlexander Bluhm
tests fail. First run all checks and report problmes, finally exit with the total number of failures. Unfortunately it still fails.
2017-07-12We cannot mmap(2) memory at VM_MAXUSER_ADDRESS as the full allocatedAlexander Bluhm
page must be below that address. Subtract PAGE_SIZE from the hint address, then regress passes.
2017-07-12Disable failing pkg_add tests and document when they were added.Alexander Bluhm
Targets are still executed, but are expected to fail.
2017-07-11Rewrite regress sendsrcaddr so that is uses UDP sockets on localhost,Alexander Bluhm
does not try to connect to google and avoids BPF programming.
2017-07-10ld.so and nfs regress were using PROGS variable before it was addedAlexander Bluhm
to bsd.prog.mk. Remove local additions and use global rules.
2017-07-10The libtool regress used PROGS as a regular variable. Rename itAlexander Bluhm
to avoid the new special meaning in bsd.prog.mk.
2017-07-09Make pkg-config regress tests pass:Alexander Bluhm
- Allow to override PKG_CONFIG and check correct place in logfile. - Replace "if ...; then false; fi" with a simple ! . - Remove comments about failing test which do not fail. - Adapt regress to changes in pkg-config rev 1.64 and 1.72 regarding static and missing tests. OK jasper@
2017-07-08Run malloc0test with all possible malloc options.Alexander Bluhm
2017-07-07Remove all references to "make depend" from regress.Alexander Bluhm
2017-07-07Remove useless make depend targets.Alexander Bluhm
2017-07-07add parentheses to the output where required for disambiguationIngo Schwarze
2017-07-07Disable tests that fail due to known make bugs, fix the others.Alexander Bluhm
2017-07-07trigger default .l.o rule and check the produced file has the right nameMarc Espie
2017-07-07Make libtool regress tests pass:Alexander Bluhm
- There are no NOPIC architectures anymore. - Add DISABLED targets for tests failing intensionally without touching the real targets. - In execute mode libtool command line must use ./p2 as . is not in my PATH. OK mpi@ espie@
2017-07-07Make mmap_hint.c compile on i386 by adding includes. UnfortunatelyAlexander Bluhm
test is still failing.
2017-07-06Now that we have the -Wstyle message level, downgrade six warningsIngo Schwarze
that are not syntax mistakes and that do not cause wrong formatting or content to style suggestions. Also upgrade two warnings that may cause information loss to errors.
2017-07-06Delete variable REGRESS_TARGET, missing plural S is a typo and itAlexander Bluhm
is not used. Convert tests into a common style. OK anton@
2017-07-06anton@ has fixed the test script so that it can run as root. RemoveAlexander Bluhm
my workaround that switched to build user.
2017-07-06Do not suppress what's going on.anton
2017-07-06Disable new tests until sed has been adapted.Alexander Bluhm
Discussed with otto@
2017-07-06Initialize the return value and do not use garbage as exit status.Alexander Bluhm
Then the test passes.
2017-07-06Link the runtests programs statically and explain why.Alexander Bluhm
2017-06-30Build and run libexpat regress tests from src/lib/libexpat/tests.Alexander Bluhm
2017-07-06Add tests for all features of file completion in csh.anton
2017-07-06fix dateIngo Schwarze
2017-07-06Fix operator precedence according to Brian W. Kernighan and LorindaIngo Schwarze
L. Cherry, "Typesetting Mathematics - User's Guide (Second Edition)", August 15, 1978, paragraph 23; swarm of bugs pointed out by bentley@.
2017-07-05Favor a UID-agnostic prompt in ksh edit mode tests. Allows the tests to passanton
when executed as root. Spotted by bluhm@
2017-07-05Revert previously added tests for file completion that are currently failing.anton
Prodded by bluhm@
2017-07-05Implement the generated dependency with a stamp file to avoid needlessAlexander Bluhm
recompiling of the test programs. Add some RCS ids.
2017-07-05Add 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-04Switch to build user if run as root. Prompt output $ or # affects test.Alexander Bluhm
2017-07-04Fix file regress from stdin if obj directory exists.Alexander Bluhm
2017-07-04Fix handling of \} on roff request lines.Ingo Schwarze
Cures bogus error messages in pages generated with pod2man(1).
2017-07-04Fix building the libedit regress programs.Alexander Bluhm
2017-07-04It turns out association of tbl spans with layout rows is simpler thanIngo Schwarze
i thought. Fixing a bug in curs_addch(3) and minus 25 lines of code.