From 9d90d48c9d01fa45d1a363fc01d0a1c2ffc9e790 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 10 Apr 2017 22:31:02 -0400 Subject: test/: Tidy before()/after() definitions. --- test/libremakepkg-test.sh | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'test/libremakepkg-test.sh') 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 -- cgit v1.2.2