openssl/util
Martin Peylo 374cab6390 Adding Test.pm with workaround for Perl abs2rel bug
If SRCTOP != BLDTOP, and SRCTOP is given in relative form, e.g.
"./config ../openssl", then a bug in Perl's abs2rel may trigger that directory-
rewriting in __cwd results in wrong entries in %directories under certain
circumstances, e.g. when a test executes run(app(["openssl"]) after indir.

There should not be any need to go to a higher directory from BLDDIR or SRCDIR,
so it should be OK to use them in their absolute form, also resolving all
possible symlinks, right from the start.

Following the File::Spec::Functions bug description (reported to perl.org):

When abs2rel gets a path argument with ..s that are crossing over the ..s
trailing the base argument, the result is wrong.

Example
PATH: /home/goal/test/..
BASE: /home/goal/test/../../base
Good result: ../goal
Bad  result: ../..

Bug verified with File::Spec versions
- 3.6301
- 3.74 (latest)

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7031)

(cherry picked from commit 7a2027240e)
2019-07-02 20:12:28 +02:00
..
perl Adding Test.pm with workaround for Perl abs2rel bug 2019-07-02 20:12:28 +02:00
add-depends.pl util/add-depends.pl: go through shared_sources too 2018-11-07 14:40:02 +01:00
build.info VMS: throw away [.util]shareable_image_wrap.c.in and add replacement scripts 2017-03-14 22:27:17 +01:00
cavs-to-evptest.pl Add the NIST CAVS test vectors for CCM 2019-05-23 10:55:42 +01:00
check-malloc-errs Fix last(?) batch of malloc-NULL places 2018-04-26 14:02:24 -04:00
ck_errf.pl Update copyright year 2018-06-20 15:29:23 +01:00
copy.pl Update copyright year 2018-05-29 13:16:04 +01:00
dofile.pl util/dofile.pl: require Text::Template 1.46 or newer 2018-07-10 16:32:20 +02:00
echo.pl Windows: fix echo for nmake 2018-07-11 14:49:02 +02:00
find-doc-nits Add a check for history section location to find-doc-nits 2019-04-15 12:26:49 +02:00
find-unused-errs Add -f -r flags to find-unused-errs 2017-04-16 07:57:12 -04:00
indent.pro Remove unnecessary trailing whitespace 2019-02-05 16:29:17 +01:00
libcrypto.num Providing missing accessor to EVP_PKEY.engine 2019-03-21 09:06:12 +00:00
libssl.num Added missing signature algorithm reflection functions 2018-11-12 16:53:32 -05:00
local_shlib.com.in Remove unnecessary trailing whitespace 2019-02-05 16:29:17 +01:00
mkbuildinf.pl Fix SOURCE_DATE_EPOCH bug; use UTC 2017-11-27 14:34:14 -05:00
mkdef.pl Fix Typos 2019-07-01 02:02:06 +08:00
mkdir-p.pl utils/mkdir-p: check if dir exists also after mkdir failed 2016-06-23 11:10:29 -04:00
mkerr.pl util/mkerr.pl: Add an inclusion of symhacks.h in all error files 2019-07-02 10:06:15 +02:00
mkrc.pl minor fixes for Windows 2018-09-12 09:18:25 +02:00
mktar.sh Have util/mktar.sh display the absolute path to the tarball 2018-11-24 18:43:54 +01:00
openssl-format-source Update copyright year 2019-02-26 14:05:09 +00:00
openssl-update-copyright Enhance util/openssl-update-copyright shell script 2018-01-10 18:23:28 +01:00
opensslwrap.sh
private.num Added missing signature algorithm reflection functions 2018-11-12 16:53:32 -05:00
process_docs.pl Update copyright year 2018-05-29 13:16:04 +01:00
shlib_wrap.sh.in Fix rpath-related Linux "test_shlibload" failure. 2018-11-14 00:42:57 +01:00
su-filter.pl Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
unlocal_shlib.com.in VMS: don't use /DSF, turn off CALL_DEBUG instead 2017-03-15 03:09:57 +01:00