summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/librestage-test.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/librestage-test.sh b/test/librestage-test.sh
index 460eb58..178728f 100644
--- a/test/librestage-test.sh
+++ b/test/librestage-test.sh
@@ -8,10 +8,12 @@ before() {
_before
mkdir -p $XDG_CONFIG_HOME/libretools
- echo "WORKDIR='$tmpdir/workdir'" >$XDG_CONFIG_HOME/libretools/libretools.conf
- echo "ARCHES=('x86_64' 'i686' 'misp64el')" >>$XDG_CONFIG_HOME/libretools/libretools.conf
+ echo "WORKDIR='$tmpdir/workdir'" > $XDG_CONFIG_HOME/libretools/libretools.conf
+ echo "ARCHES=('x86_64' 'i686' 'misp64el')" >> $XDG_CONFIG_HOME/libretools/libretools.conf
+
+ mkdir -p $XDG_CONFIG_HOME/xbs
+ echo "BUILDSYSTEM=abslibre" > $XDG_CONFIG_HOME/xbs/xbs.conf
- export HOME=$XDG_CONFIG_HOME
echo 'PKGEXT=.pkg.tar.gz' > $HOME/.makepkg.conf
echo "PKGDEST='$tmpdir/workdir/pkgdest'" >> $HOME/.makepkg.conf
mkdir -p "$tmpdir/workdir/pkgdest"