summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest-functions8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-functions b/test-functions
index 7c848c1..0ab203b 100755
--- a/test-functions
+++ b/test-functions
@@ -1180,6 +1180,14 @@ if [ "${PORTAGE_BIN_PATH}" ] && [ "${S}" ]; then
fi
if ! test_local; then
+ # Currently, this test is known to fail for ksh93 and yash. As regards
+ # the former, the commonly implemented behaviour of "local" can be
+ # approximated with "typeset". However, to use typeset in this way
+ # requires the use of the function f { ...; } syntax instead of the
+ # POSIX-compatible f() compound-command syntax. Further, ksh93
+ # implements static scoping. As regards the latter, yash is rather
+ # stringent and simply disables its local builtin if in its posix mode.
+ # Running yash as "sh" would be one way of activating said mode.
rc=1
elif ! GENFUN_MODULES="portage rc" . ./functions.sh; then
bailout "Couldn't source ./functions.sh"