summaryrefslogtreecommitdiff
path: root/regress/libexec
AgeCommit message (Collapse)Author
2016-08-27ALL HAIL ELF!Philip Guenther
Since <sys/param.h> isn't needed for __ELF__, pull in <stdio.h> for NULL ok deraadt@
2016-03-20Add regress for environ and __progname vs load-time .init functionsPhilip Guenther
2015-06-15fix regress fallout due to CFLAGS vs CXXFLAGSTheo de Raadt
2005-09-13dlopen regress tests.Dale Rahn
2015-01-20Missing $OpenBSD$'s.Kenneth R Westerback
ok deraadt@
2014-12-01run script with ${SHELL}Theo de Raadt
2014-09-07Add Henri Kemppainen's copyrightPhilip Guenther
2014-09-07Add dependency tests from Henri Kemppainen (duclare (at) guu.fi)Philip Guenther
2014-09-07Add dependency tests from Henri Kemppainen (duclare (at) guu.fi).Philip Guenther
order1 demonstrates why the fix in ld.so/library_subr.c rev 1.34 is necessary order2 demonstrates that that fix isn't completely correct
2014-08-17Fix regression tests for ld.sodoug
It now runs correctly with 'make depend regress'
2012-08-16basic randomdata regression testsMatthew Dempsky
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-02-16Update ld.so-cookie test which is currently broken and gets in theMartynas Venckus
way of SSP testing. For some reason this diff keeps escaping from cvs commit... Basic idea: * Use dl_iterate_phdr() to iterate all loaded ELF program headers. * Check that we actually find a header for ld.so. * For ld.so, check that we find a PT_OPENBSD_RANDOMIZE segment. * For each PT_OPENBSD_RANDOMIZE segment, check that at least one byte in the memory range is non-zero. Written by matthew@. "Please go ahaed" kettenis@. "Move fast" deraadt@, a week ago.
2013-12-22Seems gcc4 whines about an empty file as well, so just unconditionally doMark Kettenis
what we did for gcc3.
2013-10-28include stdlib.h for exit()Jonathan Gray
2008-01-02regression test for lazy binding.Matthieu Herrb
"people need never hold off on adding stuff to regress" deraadt@
2013-10-18Fix building regress outside of /usr/src where the objdirJonathan Gray
behaviour is different. ok deraadt@ miod@
2013-10-15We do not produce "core" files, so they do not need to be deleted. theyTheo de Raadt
have been *.core files for a very long time. That's a lot of unlink() calls saved.
2013-08-06Remove support for COMPILER_VERSION == gcc2.Miod Vallat
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-04-05- Hookup regress for rpath substitution supportKurt Miller
2013-04-02Let this work on gcc < 4, which don't accept /dev/null as a valid input file.Miod Vallat
2013-03-31Do not depend on the value of PATH to run.Miod Vallat
2013-03-30- Add regress for forthcomming rpath ORIGIN substitution support.Kurt Miller
okay matthew@
2013-01-23give this a chance to work after make objMiod Vallat
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-08-22Link ld.so-cookie back into the regress build now that ld.so's __guardMatthew Dempsky
value is actually initialized.
2012-08-21Link randomdata tests into the regress build now that I've committed support forMatthew Dempsky
.openbsd.randomdata, but comment out randomdata/ld.so-cookie for now since I haven't yet switched ld.so's __guard to use it.
2012-08-17Double check that we're not testing libc's __guard. Changing ld.so'sMatthew Dempsky
__guard symbol to HIDDEN causes dlsym() to return a pointer to libc's __guard instead, which can cause the test to wrongly pass even if ld.so's random data segments are not being initialized properly.
2012-08-16Use dlopen("ld.so") instead of dlopen("/usr/libexec/ld.so") so we getMatthew Dempsky
a reference to the already loaded ld.so instead of loading another instance.
2012-08-16turd polish: use LDSTATIC=${STATIC} instead of LDFLAGS+=-staticMatthew Dempsky
2012-08-16Add regression test to check that PIEs work too.Matthew Dempsky
2012-08-16Add a test case to verify ld.so's randomdata section is initializedMatthew Dempsky
too, since interpreters will be initialized by a slightly different code path than executables.
2012-08-16basic randomdata regression testsMatthew Dempsky
2012-06-15Add a regress test for ld.so's DF_1_NOOPEN support.Matthew Dempsky
2011-11-29enable initfirst regressKurt Miller
2011-11-29clean up initfirst regress conflict created by my import. split testsKurt Miller
into two sub dirs.
2011-11-29Check the destructor order tooPhilip Guenthe
2011-11-29ld.so initfirst regress testKurt Miller
2011-11-08Regress for -z initfirst supportPhilip Guenthe
2011-11-08ld.so initfirst regress testPhilip Guenthe
2011-04-03Fix the really bad C++ test code that I wrote long ago.Dale Rahn
2010-08-04Revert previous since it makes the tests fail.Mark Kettenis
2010-07-03clean up all created filesPeter Hessler
2010-06-20Add some missing includes, so we do not have implicit functionPeter Hessler
declarations. OK miod@, millert@
2010-06-20Have yet another regress test actually build the test program, beforePeter Hessler
trying to use it. OK (a long time ago) david@
2010-05-10Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexibleDale Rahn
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco, with fixes from espie@. ok espie@ general mumbling of approval of others.
2009-02-17Link lazy binding test into ld.so regress suite.Joel Sing
ok matthieu@
2008-01-02regression test for lazy binding.Matthieu Herrb
"people need never hold off on adding stuff to regress" deraadt@
2007-08-01remove the need to inspect the output and check everything programmaticallyKurt Miller
okay kettenis@