summaryrefslogtreecommitdiffstats
path: root/regress/libexec (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove echo headlines.bluhm2020-12-171-8/+1
|
* Add a sub regression test for the nlst command in ftpd(8).jan2020-01-201-1/+6
|
* Add ftpd(8) sub test for mkdir.jan2020-01-161-1/+8
|
* Add sub test for ftpd(8) that test delete of files.jan2020-01-161-1/+7
|
* Add a file put sub test for ftpd(8) regression test.jan2020-01-161-2/+10
|
* Skip regress ftpd if there is no anonymous ftp user with existingbluhm2019-12-261-2/+10
| | | | home directory.
* Add regression test for ftpd(8).jan2019-12-223-1/+73
| | | | OK bluhm@
* Avoid rm(1) prompt and show out in clean targetkn2019-05-211-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.
* Silence most clang warnings in ld.so regress.bluhm2017-08-079-16/+19
| | | | OK kettenis@
* Use C stdio instead of C++ iostream as we cannot use the latter inkettenis2017-08-045-20/+20
| | | | | | | constructors for an "initfirst" object as the iostream objects have not been constructed yet. ok bluhm@
* Use ${CC}=${CXX} here as well.kettenis2017-08-041-1/+3
| | | | ok bluhm@
* Use volatile to keep clang from optimizing things too much. Force linkingkettenis2017-08-042-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@
* Split up source code to keep clang from optimizing this into failure.kettenis2017-08-023-15/+36
| | | | ok millert@
* A fix is coming in the future, but in the meantime we should never declarederaadt2017-08-012-4/+4
| | | | | a section(".openbsd.randomdata") variable as static or const, because the compiler optimizes out access.
* ld.so and nfs regress were using PROGS variable before it was addedbluhm2017-07-101-7/+5
| | | | to bsd.prog.mk. Remove local additions and use global rules.
* Use --disable-new-dtags here as well.kettenis2017-03-184-4/+8
|
* The prog3 sub-tests tests DT_RPATH behaviour. Add --disable-new-dtags tokettenis2017-03-181-1/+2
| | | | | the linker options such that DT_RPATH gets set instead of DT_RUNPATH on platforms using lld as the linker.
* Add missing includes to avoid implicit function declarations.jsg2017-02-253-3/+6
|
* Make sure that the regress target builds the libraries. Stop building akettenis2016-09-272-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@
* Modernize constructor test such that it builds again and enable it.kettenis2016-09-278-15/+22
| | | | ok bluhm@
* Add a regress target so that a recursive "make regress" also buildsbluhm2016-09-051-2/+7
| | | | this library as a prerequisite.
* ALL HAIL ELF!guenther2016-08-271-9/+3
| | | | | | Since <sys/param.h> isn't needed for __ELF__, pull in <stdio.h> for NULL ok deraadt@
* Add regress for environ and __progname vs load-time .init functionsguenther2016-03-207-1/+109
|
* fix regress fallout due to CFLAGS vs CXXFLAGSderaadt2015-06-154-8/+5
|
* Missing $OpenBSD$'s.krw2015-01-207-0/+7
| | | | ok deraadt@
* run script with ${SHELL}deraadt2014-12-011-2/+2
|
* Add Henri Kemppainen's copyrightguenther2014-09-076-0/+96
|
* Add dependency tests from Henri Kemppainen (duclare (at) guu.fi)guenther2014-09-071-2/+2
|
* Add dependency tests from Henri Kemppainen (duclare (at) guu.fi).guenther2014-09-0721-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
* Fix regression tests for ld.sodoug2014-08-176-1/+18
| | | | It now runs correctly with 'make depend regress'
* zap trailing newlines; "go for it" deraadtokan2014-07-162-3/+1
|
* Update ld.so-cookie test which is currently broken and gets in themartynas2014-02-161-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.
* Seems gcc4 whines about an empty file as well, so just unconditionally dokettenis2013-12-221-6/+1
| | | | what we did for gcc3.
* include stdlib.h for exit()jsg2013-10-281-1/+2
|
* Fix building regress outside of /usr/src where the objdirjsg2013-10-181-1/+10
| | | | | behaviour is different. ok deraadt@ miod@
* We do not produce "core" files, so they do not need to be deleted. theyderaadt2013-10-151-2/+2
| | | | | have been *.core files for a very long time. That's a lot of unlink() calls saved.
* Remove support for COMPILER_VERSION == gcc2.miod2013-08-062-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.
* ELF_TOOLCHAIN bye bye.miod2013-07-052-12/+2
|
* - Hookup regress for rpath substitution supportkurt2013-04-051-2/+2
|
* Let this work on gcc < 4, which don't accept /dev/null as a valid input file.miod2013-04-021-10/+28
|
* Do not depend on the value of PATH to run.miod2013-03-311-2/+2
|
* - Add regress for forthcomming rpath ORIGIN substitution support.kurt2013-03-307-0/+120
| | | | okay matthew@
* give this a chance to work after make objmiod2013-01-231-5/+5
|
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-2/+2
| | | | ok guenther millert kettenis
* Link ld.so-cookie back into the regress build now that ld.so's __guardmatthew2012-08-221-3/+2
| | | | value is actually initialized.
* Link randomdata tests into the regress build now that I've committed support formatthew2012-08-212-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.
* Double check that we're not testing libc's __guard. Changing ld.so'smatthew2012-08-171-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.
* Use dlopen("ld.so") instead of dlopen("/usr/libexec/ld.so") so we getmatthew2012-08-161-1/+1
| | | | | a reference to the already loaded ld.so instead of loading another instance.
* turd polish: use LDSTATIC=${STATIC} instead of LDFLAGS+=-staticmatthew2012-08-161-2/+2
|
* Add regression test to check that PIEs work too.matthew2012-08-162-2/+12
|