summaryrefslogtreecommitdiff
path: root/test/libremakepkg-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/libremakepkg-test.sh')
-rw-r--r--test/libremakepkg-test.sh19
1 files changed, 1 insertions, 18 deletions
diff --git a/test/libremakepkg-test.sh b/test/libremakepkg-test.sh
index 2e918ad..ef4ab6a 100644
--- a/test/libremakepkg-test.sh
+++ b/test/libremakepkg-test.sh
@@ -1,26 +1,9 @@
#!/usr/bin/env roundup
describe libremakepkg
-
. ./test-common.sh
-_setup_chrootdir
-
-before() {
- _before libremakepkg
-
- mkdir -p "$XDG_CONFIG_HOME"/libretools
-
- echo "BLACKLIST=https://git.parabola.nu/blacklist.git/plain/blacklist.txt" >"$XDG_CONFIG_HOME"/libretools/libretools.conf
-
- echo "CHROOTDIR='${chrootdir}'" > "$XDG_CONFIG_HOME"/libretools/chroot.conf
- echo "CHROOT='default'" >> "$XDG_CONFIG_HOME"/libretools/chroot.conf
- echo "CHROOTEXTRAPKG=()" >> "$XDG_CONFIG_HOME"/libretools/chroot.conf
-}
-
-after() {
- _after_sudo
-}
+setup_chrootdir
it_builds_a_trivial_package() {
require network sudo || return 0