aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2021-10-04 17:51:13 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-04 17:51:13 -0400
commit75966274a95160cabba4534f47867be90648f066 (patch)
tree182b7522a78219638e3fd800a01863647edf0919 /tests
parentbuild: add --debug for easy shell script tracing (diff)
downloadpax-utils-75966274a95160cabba4534f47867be90648f066.tar.gz
pax-utils-75966274a95160cabba4534f47867be90648f066.tar.bz2
pax-utils-75966274a95160cabba4534f47867be90648f066.zip
build: drop external function.sh use
We use very little from it anymore, and can easily inline the few things we want. This makes code work on non-Gentoo systems. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib.sh b/tests/lib.sh
index 927e503..03d9f2a 100644
--- a/tests/lib.sh
+++ b/tests/lib.sh
@@ -9,7 +9,9 @@ else
top_builddir=${abs_top_builddir}
fi
-[ -e /etc/init.d/functions.sh ] && source /etc/init.d/functions.sh
+GOOD=$'\e[32;1m'
+BAD=$'\e[31;1m'
+NORMAL=$'\e[m'
PATH="${top_srcdir}:${top_builddir}:${PATH}"
unset ROOT # who knows!