summaryrefslogtreecommitdiff
path: root/regress/libexec
AgeCommit message (Collapse)Author
2023-04-09Treat symlinks better in $ORIGIN determination in ld.soGreg Steuck
Now symlinking an executable away from the rest of its installation tree no longer prevents it from finding the libraries. This matches the behavior of other OS linkers. Prompted by a behavior change in lang/ghc test suite. Swapped the order of dirname/realpath in _dl_origin_path. Added some regress tests that pass and then bin3 that fails without this change and reflects the behavior needd for lang/ghc. Suggestion by semarie@, OK deraadt@
2022-08-20add ld.so RTLD_NOLOAD regress tests, ok jca@ guenther@Stuart Henderson
2021-06-06Test must build also when started with make regress. Use consistentAlexander Bluhm
variable names in make file.
2021-06-04unbreak regress/libexec/ld.so/nodelete testSebastien Marie
pointed by bluhm@
2021-06-02add regress test for RTLD_NODELETE supportSebastien Marie
2021-05-09Add subtest for EPRT command in ftpd regression testjan
2021-05-09Add subtest for SIZE command in ftpd regression testsjan
2021-05-09Add subtest for RNFR and RNTO in ftpd regression testsjan
2021-04-26Unset ftp_proxy to make test independent from environment.Alexander Bluhm
2020-12-17Remove echo headlines.Alexander Bluhm
2020-01-20Add a sub regression test for the nlst command in ftpd(8).jan
2020-01-16Add ftpd(8) sub test for mkdir.jan
2020-01-16Add sub test for ftpd(8) that test delete of files.jan
2020-01-16Add a file put sub test for ftpd(8) regression test.jan
2019-12-26Skip regress ftpd if there is no anonymous ftp user with existingAlexander Bluhm
home directory.
2019-12-22Add regression test for ftpd(8).jan
OK bluhm@
2019-05-21Avoid rm(1) prompt and show out in clean targetkn
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.Alexander Bluhm
OK kettenis@
2017-08-04Use C stdio instead of C++ iostream as we cannot use the latter inMark Kettenis
constructors for an "initfirst" object as the iostream objects have not been constructed yet. ok bluhm@
2017-08-04Use ${CC}=${CXX} here as well.Mark Kettenis
ok bluhm@
2017-08-04Use volatile to keep clang from optimizing things too much. Force linkingMark Kettenis
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.Mark Kettenis
ok millert@
2005-09-28two new regresses for dlclose. double dlopen("foo") with singleKurt Miller
dlclose(foo). mozilla lazy binding example (load_object confusion)
2017-08-01A fix is coming in the future, but in the meantime we should never declareTheo de Raadt
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 addedAlexander Bluhm
to bsd.prog.mk. Remove local additions and use global rules.
2017-03-18Use --disable-new-dtags here as well.Mark Kettenis
2017-03-18The prog3 sub-tests tests DT_RPATH behaviour. Add --disable-new-dtags toMark Kettenis
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.Jonathan Gray
2008-01-02regression test for lazy binding.Matthieu Herrb
"people need never hold off on adding stuff to regress" deraadt@
2016-09-27Make sure that the regress target builds the libraries. Stop building aMark Kettenis
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.Mark Kettenis
ok bluhm@
2016-09-05Add a regress target so that a recursive "make regress" also buildsAlexander Bluhm
this library as a prerequisite.
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.