summaryrefslogtreecommitdiff
path: root/openbsd-compat/regress
AgeCommit message (Collapse)Author
2021-08-11Add includes.h to compat tests.Darren Tucker
On platforms where closefrom returns void (eg glibc>=2.34) the prototype for closefrom in its compat tests would cause compile errors. Remove this and have the tests pull in the compat headers in the same way as the main code. bz#3336.
2019-08-05Fix mem leak in unit test.Darren Tucker
Patch from jitendra.sharma at intel.com.
2019-06-08Always clean up before and after utimensat test.Darren Tucker
2019-06-07Update utimensat test.Darren Tucker
POSIX specifies that when given a symlink, AT_SYMLINK_NOFOLLOW should update the symlink and not the destination. The compat code doesn't have a way to do this, so where possible it fails instead of following a symlink when explicitly asked not to. Instead of checking for an explicit failure, check that it does not update the destination, which both the real and compat implmentations should honour. Inspired by github pull req #125 from chutzpah at gentoo.org.
2019-01-18Add a minimal implementation of utimensat().Darren Tucker
Some systems (eg older OS X) do not have utimensat, so provide minimal implementation in compat layer. Fixes build on at least El Capitan.
2018-02-15Remove remaining now-obsolete cvs $Ids.Darren Tucker
2016-06-14Remove now-defunct .cvsignore files. ok djmDarren Tucker
2014-06-17 - (dtucker) [entropy.c openbsd-compat/openssl-compat.{c,h}Darren Tucker
openbsd-compat/regress/{.cvsignore,Makefile.in,opensslvertest.c}] Move the OpenSSL header/library version test into its own function and add tests for it. Fix it to allow fix version upgrades (but not downgrades). Prompted by chl@ via OpenSMTPD (issue #462) and Debian (bug #748150). ok djm@ chl@
2011-05-06 - (dtucker) [openbsd-compat/regress/closefromtest.c] Bug #1875: add prototypeDarren Tucker
for closefrom() in test code. Report from Dan Wallis via Gentoo.
2008-03-09 - (dtucker) [openbsd-compat/regress/strtonumtest.c] Bug #1347: Use platform'sDarren Tucker
equivalent of LLONG_MAX for the compat regression tests, which makes them run on AIX and HP-UX. Patch from David Leonard.
2007-09-10 - (dtucker) [openbsd-compat/regress/closefromtest.c] Bug #1358: AlwaysDarren Tucker
return 0 on successful test. From David.Leonard at quest com.
2007-07-24 - (tim) [openbsd-compat/regress/closefromtest.c] Bug 1345: fix open() call.Tim Rice
Report/patch by David.Leonard AT quest.com
2006-08-19 - (dtucker) [openbsd-compat/regress/Makefile.in] Add $(EXEEXT) and add aDarren Tucker
single rule for the test progs.
2006-08-18 - (dtucker) [openbsd-compat/regress/Makefile.in] Use implicit rules for theDarren Tucker
test progs instead; they work better than what we have.
2006-08-18 - (dtucker) [openbsd-compat/regress/snprintftest.c] Newline on error.Darren Tucker
2006-08-17 - (dtucker) [openbsd-compat/regress/{Makefile.in,closefromtest.c}] RegressDarren Tucker
test for closefrom() in compat code.
2006-08-05 - (djm) [openbsd-compat/regress/snprintftest.c]Damien Miller
[openbsd-compat/regress/strduptest.c] Add missing includes so they pass compilation with "-Wall -Werror"
2006-08-05ignore built test binaries tooDamien Miller
2006-08-05ignore generated MakefileDamien Miller
2006-02-19 - (dtucker) [Makefile.in configure.ac, added openbsd-compat/regress/]Darren Tucker
Add first attempt at regress tests for compat library. ok djm@