]> Savannah Git Hosting - gnulib.git/commit
test-framework-sh: remove unsafe entries from PATH
authorBernhard Voelker <mail@bernhard-voelker.de>
Wed, 24 Nov 2021 22:59:00 +0000 (23:59 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Fri, 26 Nov 2021 00:06:15 +0000 (01:06 +0100)
commitd50912b6c60732476bb2955d947bacb73aaa2d59
tree40f566070118f7577f3f6088a816f5f74010066f
parent64f5221ef20ba6723f2b0d5f8c9b666f46480451
test-framework-sh: remove unsafe entries from PATH

Running tests with '.' in the PATH may yield unspecified results,
and is deemed unsafe per se.  This includes empty entries as well
which are treated like a '.' entry as per POSIX.

* tests/init.sh (setup_): Add snippet to remove relative and non-
accessible entries from the PATH environment variable.
ChangeLog
tests/init.sh