commit: 03db74215077d0d19b5e3d6bf60fe1781229c2e4 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Mon Aug 13 21:58:02 2018 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Mon Aug 13 21:58:02 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=03db7421
tests/run_tests: switch to /lib/gentoo/functions.sh Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> tests/run_tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run_tests b/tests/run_tests index 397d667..9ba34a0 100755 --- a/tests/run_tests +++ b/tests/run_tests @@ -3,7 +3,7 @@ # Avoid bash localization of error messages export LC_ALL=C -. /etc/init.d/functions.sh 2>/dev/null +. /lib/gentoo/functions.sh 2>/dev/null ebegin() { printf '%s*%s %s ... ' "${GOOD}" "${NORMAL}" "$*" ; } eend() { local r=${1:-0} @@ -16,7 +16,7 @@ eend() { return $r } die() { echo "$*" 1>&2; exit 1; } -eval $(eval_ecolors) +eval $(eval_ecolors 2>/dev/null) vars=( CHOST GCC_CONFIG ROOT TROOT NOCOLOR RC_NOCOLOR ) unset ${vars[@]}