aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-08-13 22:58:02 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-08-13 22:58:02 +0100
commit03db74215077d0d19b5e3d6bf60fe1781229c2e4 (patch)
treeb8de74d08f3d2752b10dc8c1991b886f94aed49d /tests
parentwrapper.c: inhibit "unused argc" warning (diff)
downloadgcc-config-03db74215077d0d19b5e3d6bf60fe1781229c2e4.tar.gz
gcc-config-03db74215077d0d19b5e3d6bf60fe1781229c2e4.tar.bz2
gcc-config-03db74215077d0d19b5e3d6bf60fe1781229c2e4.zip
tests/run_tests: switch to /lib/gentoo/functions.sh
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run_tests4
1 files 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[@]}