summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2002-09-20test line continuationHenning Brauer
2002-09-18test port ranges in rdr rulesHenning Brauer
2002-09-18test log keywords and log quick/quick log orderHenning Brauer
2002-09-18test return-rst(ttl number)Henning Brauer
2002-09-18test "set loginterface none"Henning Brauer
2002-09-18test af detection logic in nat and rdr rulesHenning Brauer
2002-09-18test antispoofHenning Brauer
2002-09-18new kind of pfctl regression tests:Henning Brauer
we have stuff we cannot test in our regression tests as of now as the pfctl -nvf output varies depending on the machine config - esp. network interfaces et all. But we can at least test wether pfctl eats the syntax. add a test for the "self" keyword. ok markus@
2002-09-15some dynaddr testsHenning Brauer
2002-09-14Move __cleanup into mprotect'ed page to prevent unintentional modificationsDaniel Hartmeier
similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
2002-09-12regress test for antispoofHenning Brauer
2002-09-12a grammar in err msgs and a tiny formating fixMichael Shalayeff
2002-09-11errx is a proper function hereMichael Shalayeff
2002-09-09Some posix tests we don't pass yet, and won't until I've added a `magic'Marc Espie
status for variables (as SHELL is very, very special, according to POSIX/Single Unix).
2002-09-03suffix the tests to see what is happenning indeedMichael Shalayeff
2002-09-03those targets are all phonyMichael Shalayeff
2002-09-03trim some whitespace in the mail subjectAnil Madhavapeddy
2002-09-02comment out the mailing suggestions, since the address doesnt exist yetAnil Madhavapeddy
2002-09-02Rename a bunch of the old bsd.regress.mk variables into the new ones.Anil Madhavapeddy
ok art@
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