summaryrefslogtreecommitdiffstats
path: root/regress/libexec
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17Remove echo headlines.bluhm1-8/+1
2020-01-20Add a sub regression test for the nlst command in ftpd(8).jan1-1/+6
2020-01-16Add ftpd(8) sub test for mkdir.jan1-1/+8
2020-01-16Add sub test for ftpd(8) that test delete of files.jan1-1/+7
2020-01-16Add a file put sub test for ftpd(8) regression test.jan1-2/+10
2019-12-26Skip regress ftpd if there is no anonymous ftp user with existingbluhm1-2/+10
home directory.
2019-12-22Add regression test for ftpd(8).jan3-1/+73
OK bluhm@
2019-05-21Avoid rm(1) prompt and show out in clean targetkn1-2/+2
Errornously running regress and clean as different users may lead to interactive conformation being hidden and a seemingly stalled target. Force remove files and keep standard out/error as is to make the clean target non-interatively, actually complete and show helpful errors.
2017-08-07Silence most clang warnings in ld.so regress.bluhm9-16/+19
OK kettenis@
2017-08-04Use C stdio instead of C++ iostream as we cannot use the latter inkettenis5-20/+20
constructors for an "initfirst" object as the iostream objects have not been constructed yet. ok bluhm@
2017-08-04Use ${CC}=${CXX} here as well.kettenis1-1/+3
ok bluhm@
2017-08-04Use volatile to keep clang from optimizing things too much. Force linkingkettenis2-3/+5
with the c++ command instead of cc by setting CC=${CXX}. This is a hack and a better solution is under development. Linking with c++ is necessary to make the shared libraries depend up libc++.so such that the iostream objects are constructed before we use them. ok bluhm@
2017-08-02Split up source code to keep clang from optimizing this into failure.kettenis3-15/+36
ok millert@
2017-08-01A fix is coming in the future, but in the meantime we should never declarederaadt2-4/+4
a section(".openbsd.randomdata") variable as static or const, because the compiler optimizes out access.
2017-07-10ld.so and nfs regress were using PROGS variable before it was addedbluhm1-7/+5
to bsd.prog.mk. Remove local additions and use global rules.
2017-03-18Use --disable-new-dtags here as well.kettenis4-4/+8
2017-03-18The prog3 sub-tests tests DT_RPATH behaviour. Add --disable-new-dtags tokettenis1-1/+2
the linker options such that DT_RPATH gets set instead of DT_RUNPATH on platforms using lld as the linker.
2017-02-25Add missing includes to avoid implicit function declarations.jsg3-3/+6
2016-09-27Make sure that the regress target builds the libraries. Stop building akettenis2-0/+12
profile library and add $OpenBSD$ markers. Similar to what we do in other regress tests that build libraries such as regress/lib/libc/cxa-exit. ok bluhm@
2016-09-27Modernize constructor test such that it builds again and enable it.kettenis8-15/+22
ok bluhm@
2016-09-05Add a regress target so that a recursive "make regress" also buildsbluhm1-2/+7
this library as a prerequisite.
2016-08-27ALL HAIL ELF!guenther1-9/+3
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 functionsguenther7-1/+109
2015-06-15fix regress fallout due to CFLAGS vs CXXFLAGSderaadt4-8/+5
2015-01-20Missing $OpenBSD$'s.krw7-0/+7
ok deraadt@
2014-12-01run script with ${SHELL}deraadt1-2/+2
2014-09-07Add Henri Kemppainen's copyrightguenther6-0/+96
2014-09-07Add dependency tests from Henri Kemppainen (duclare (at) guu.fi)guenther1-2/+2
2014-09-07Add dependency tests from Henri Kemppainen (duclare (at) guu.fi).guenther21-0/+208
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.sodoug6-1/+18
It now runs correctly with 'make depend regress'
2014-07-16zap trailing newlines; "go for it" deraadtokan2-3/+1
2014-02-16Update ld.so-cookie test which is currently broken and gets in themartynas1-13/+43
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 dokettenis1-6/+1
what we did for gcc3.
2013-10-28include stdlib.h for exit()jsg1-1/+2
2013-10-18Fix building regress outside of /usr/src where the objdirjsg1-1/+10
behaviour is different. ok deraadt@ miod@
2013-10-15We do not produce "core" files, so they do not need to be deleted. theyderaadt1-2/+2
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.miod2-10/+6
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.miod2-12/+2
2013-04-05- Hookup regress for rpath substitution supportkurt1-2/+2
2013-04-02Let this work on gcc < 4, which don't accept /dev/null as a valid input file.miod1-10/+28
2013-03-31Do not depend on the value of PATH to run.miod1-2/+2
2013-03-30- Add regress for forthcomming rpath ORIGIN substitution support.kurt7-0/+120
okay matthew@
2013-01-23give this a chance to work after make objmiod1-5/+5
2012-12-05Remove excessive sys/cdefs.h inclusionderaadt1-2/+2
ok guenther millert kettenis
2012-08-22Link ld.so-cookie back into the regress build now that ld.so's __guardmatthew1-3/+2
value is actually initialized.
2012-08-21Link randomdata tests into the regress build now that I've committed support formatthew2-4/+5
.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'smatthew1-0/+2
__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 getmatthew1-1/+1
a reference to the already loaded ld.so instead of loading another instance.
2012-08-16turd polish: use LDSTATIC=${STATIC} instead of LDFLAGS+=-staticmatthew1-2/+2
2012-08-16Add regression test to check that PIEs work too.matthew2-2/+12