See bug 504116.
+ 21 Dec 2014; Michał Górny <mgorny@gentoo.org> tests/tests-common.sh: + Use gentoo-functions for tests, bug #504378.