Darren Tucker
3500f0405a
Link libssh into compat tests.
...
The cygwin compat code uses xmalloc, so add libssh.a so pick up that.
2022-11-03 23:04:08 +11:00
Darren Tucker
ec59effcf6
Fix compat regress to work with non-GNU make.
2022-11-03 21:44:23 +11:00
Darren Tucker
fe88d67e75
Compat tests need libcrypto.
...
This was moved to CHANNELLIBS during the libs refactor. Spotted by
rapier at psc.edu.
2022-11-03 08:14:05 +11:00
Darren Tucker
419aa01123
Add includes.h to compat tests.
...
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.
2021-08-11 09:21:09 +10:00
Darren Tucker
091093d258
Add a minimal implementation of utimensat().
...
Some systems (eg older OS X) do not have utimensat, so provide minimal
implementation in compat layer. Fixes build on at least El Capitan.
2019-01-18 10:16:11 +11:00
Darren Tucker
265d88d4e6
Remove remaining now-obsolete cvs $Ids.
2018-02-15 20:06:19 +11:00
Darren Tucker
316fac6f18
- (dtucker) [entropy.c openbsd-compat/openssl-compat.{c,h}
...
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@
2014-06-17 23:06:07 +10:00
Darren Tucker
f0625699df
- (dtucker) [openbsd-compat/regress/Makefile.in] Add $(EXEEXT) and add a
...
single rule for the test progs.
2006-08-19 19:12:14 +10:00
Darren Tucker
637c80aa6f
- (dtucker) [openbsd-compat/regress/Makefile.in] Use implicit rules for the
...
test progs instead; they work better than what we have.
2006-08-18 20:56:18 +10:00
Darren Tucker
c889ffdbc6
- (dtucker) [openbsd-compat/regress/{Makefile.in,closefromtest.c}] Regress
...
test for closefrom() in compat code.
2006-08-17 19:40:35 +10:00
Darren Tucker
4881c371ce
- (dtucker) [Makefile.in configure.ac, added openbsd-compat/regress/]
...
Add first attempt at regress tests for compat library. ok djm@
2006-02-19 22:50:20 +11:00