diff options
Diffstat (limited to 'test/test-common.sh')
-rw-r--r-- | test/test-common.sh | 7 |
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 |