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/librechroot-test.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'test/librechroot-test.sh') diff --git a/test/librechroot-test.sh b/test/librechroot-test.sh index 51a43bd..fc07983 100644 --- a/test/librechroot-test.sh +++ b/test/librechroot-test.sh @@ -1,24 +1,9 @@ #!/usr/bin/env roundup describe librechroot - . ./test-common.sh -_setup_chrootdir - -before() { - _before librechroot - - mkdir -p "$XDG_CONFIG_HOME"/libretools - - 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_creates_repo_for_new_chroots() { require network sudo || return 0 -- cgit v1.2.3-54-g00ecf