diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-29 20:43:59 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-10-01 17:35:22 -0400 |
commit | d60ba20ed130c5f4c4d7f22c78fb376bbda3873a (patch) | |
tree | 53a76235db404e85c8c214d7b996dca966cb9bcb /test/librestage-test.sh | |
parent | 9520cb3a3da4b67db36242b5efe21ab5f0363ed8 (diff) |
test: test-common.bash: Remove hooks from before()
Instead, make the default before() an alias for common_before(), which test
files can call if they override before().
Diffstat (limited to 'test/librestage-test.sh')
-rw-r--r-- | test/librestage-test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/librestage-test.sh b/test/librestage-test.sh index 97e7df5..7e29a3a 100644 --- a/test/librestage-test.sh +++ b/test/librestage-test.sh @@ -5,7 +5,10 @@ describe librestage setup_chrootdir -common_before() { +before() { + common_before + chroot_before + mkdir -p $XDG_CONFIG_HOME/libretools echo "WORKDIR='$tmpdir/workdir'" > $XDG_CONFIG_HOME/libretools/libretools.conf |