summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2002-09-02the regress target should be run-regress-atexit_test to avoidAnil Madhavapeddy
aborting a regress run if it fails
2002-09-02- Precede internal bsd.regress.mk variables with a _Anil Madhavapeddy
- Rename old variables to be easier to read, and deprecate old variables. The old variables will still work, but emit warnings. - REGRESS_SKIP_SLOW only needs to be non-empty now, not explicitly set to 'yes' - REGRESS_LOG can contain more than one file to append results to - ERRORS variable can be set in Makefile to emit warnings or indicate fatal errors. - Add REGRESS_MAIL variable which can be set to an email address to send results to. Currently this only works for a full regression run, since art doesnt want partial run results - sync bsd.regress.mk(5) with these changes ok art@ , also looked over by miod@
2002-09-01e_os.h is longer installedMarkus Friedl
2002-08-31a combined non-exec test set.Michael Shalayeff
allows reusing same testing code for: - text & mprotect (not finished, not enabled); - data, data & mprotect; - bss, bss & mprotect; - heap, heap & mprotect; - stack, stack & mprotect. also a test for mmaping pages in those areas and see how it allows execution (suggested by art@), not enabled yet. all tested on i386 and hppa.
2002-08-31a simple nxheap test hacked out of nxstack and nxheap-mprotect; tested on ↵Michael Shalayeff
i386 and hppa
2002-08-30re-enable function pointer table protection, this time make sure thatDaniel Hartmeier
malloc.c gets the first mmap() call (since it depends on that, for its sbrk(0) use). ok deraadt@
2002-08-27fix the second call to on heap code. Noticed by drahn@. ThanksMatthieu Herrb
2002-08-27Add <stdlib.h> for malloc prototypeMatthieu Herrb
2002-08-27A test for non executable heap / mprotect. Ok art@Matthieu Herrb
2002-08-26Make this into a proper regress test.Artur Grabowski
2002-08-23Proper dependencies to make this work.Artur Grabowski
2002-08-21add missing CLEANFILES; ok miod@Wilbern Cobb
2002-08-21Fix Makefile for correct regress operation.Miod Vallat
2002-08-21oopsieMarc Espie
2002-08-21+mmap3Marc Espie
2002-08-21Regression test for non-ubc mmap/ftruncate interaction.Marc Espie
Noticed on strip, test prompted by art@. (turns out `normal' strip isn't affected because normal binaries are page-padded).
2002-08-17Add exec_selfArtur Grabowski
2002-08-17Test for a nasty complication in the exec code.Artur Grabowski
What happens is that if an executable tries to exec itself (happens all the time on the ramdisk, among others) and needs to page in a page from the data segment (or rodata) it will need to perform a pagein operation on the vnode that's execing right now. exec keeps that vnode locked and fails (no deadlock, that part was fixed a long time ago).
2002-08-09Get rid of remaining __P usage (except for imported code);Jason Peel
ok millert@, rogue ok pjanzen@
2002-07-31Oops. don't forget to reformat the code after cut 'n paste.Artur Grabowski
2002-07-31Test that longjmp from signals works. (it does)Artur Grabowski
2002-07-30negative regression test for flags handlingHenning Brauer
2002-07-30positive regression test for flag handlingHenning Brauer
2002-07-29Try to modify __atexit directly and see if our function gets called.Daniel Hartmeier
2002-07-27limit this to the right architecturesTheo de Raadt
2002-07-27test for mprotect() on the stack area: try force execable mapping on it ↵Michael Shalayeff
first, and it should run a code on the stack fine; then lower the protection to non-exec and observe a sigfault. fail contraccordingly
2002-07-26ensure that bss object being used is not ... inside the last page of data.Theo de Raadt
a.out ZMAGIC permits that to happen. so we need to pad it over, for the test to work.
2002-07-26swap log and quick a few timesHenning Brauer
2002-07-26and hppaTheo de Raadt
2002-07-26regress these only on the architectures where they are expected to workTheo de Raadt
2002-07-26check for non-exec of bssTheo de Raadt
2002-07-21test missing commaTheo de Raadt
2002-07-20two more from henningTheo de Raadt
2002-07-20adapt to new dup-to syntaxTheo de Raadt
2002-07-20use diff nicerTheo de Raadt
2002-07-16Add nat_consistent() and rdr_consistent() for checks that should occurDaniel Hartmeier
after rule expansion, similar to rule_consistent(). Fixes the non-effective test for rdr rules for non-TCP/UDP protocols with ports, found by mpech@, ok frantzen@
2002-07-16delete public keyMarkus Friedl
2002-07-16test ssh-keygen -p (change passphrase for key)Markus Friedl
2002-07-16add new commercial versionsMarkus Friedl
2002-07-15test "on ! interface"Henning Brauer
2002-07-15o don't use keep state on block rulesHenning Brauer
o don't use return-rst on not-tcp rules
2002-07-13regression test for interface and proto list expansion in nat rulesHenning Brauer
2002-07-09the new interface-to-ip lookup fuctions requires the address family to beHenning Brauer
specified in this cases. ok pb@, dhartmei@, kjell@
2002-07-08Don't allow 'flags' option in non-TCP rules, found by mpech@Daniel Hartmeier
2002-07-06theo doesn't like it.Henning Brauer
always use the pfctl in path.
2002-07-06use sbin/pfctl/${__objdir}/pfctl for regression tests if existant, fallHenning Brauer
back to pfctl in path otherwise. will save my ass sooner or later. ok millert@, pb@
2002-07-05regress for getaddrinfo/getnameinfoJun-ichiro itojun Hagino
2002-07-01include string.h for memcpyArtur Grabowski
2002-07-01art said, let it failMichael Shalayeff
2002-07-01a test to see if stack is executableMichael Shalayeff