summaryrefslogtreecommitdiff
path: root/test/test-common.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-05 14:01:38 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-05 17:36:24 -0400
commitdbcc8a0dc40ce467f3b11b0bb8029b96a72dc3cf (patch)
treebf38e61e12f4d18d990b0ec35f65cdbc96399556 /test/test-common.sh
parentd2a46974927d32843a5241b8f0a82dc9763fb051 (diff)
test: librestage: add tests for the (not yet implemented) sourceball feature
Diffstat (limited to 'test/test-common.sh')
-rw-r--r--test/test-common.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/test-common.sh b/test/test-common.sh
index e704b5a..5c238e1 100644
--- a/test/test-common.sh
+++ b/test/test-common.sh
@@ -5,6 +5,10 @@ if [[ $HOME == "$(eval echo ~$USER)" ]]; then
exit 1
fi
+_common_before() {
+ :
+}
+
common_before() {
:
}
@@ -25,6 +29,7 @@ before() {
stat=0
+ _common_before
common_before
}
@@ -43,7 +48,7 @@ setup_chrootdir() {
export chrootdir="$(mktemp -d --tmpdir "test-chrootdir.XXXXXXXXXXXX")"
trap "$(printf '_cleanup_chrootdir %q' "$chrootdir")" EXIT
fi
- common_before() {
+ _common_before() {
mkdir -p "$XDG_CONFIG_HOME"/libretools
echo "BLACKLIST=https://git.parabola.nu/blacklist.git/plain/blacklist.txt" >"$XDG_CONFIG_HOME"/libretools/libretools.conf