From dbcc8a0dc40ce467f3b11b0bb8029b96a72dc3cf Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 5 May 2017 14:01:38 -0400 Subject: test: librestage: add tests for the (not yet implemented) sourceball feature --- test/test-common.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/test-common.sh') 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 -- cgit v1.2.3-54-g00ecf