diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-10 22:31:02 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-11 13:02:28 -0400 |
commit | 9d90d48c9d01fa45d1a363fc01d0a1c2ffc9e790 (patch) | |
tree | 05bb9b11c18c21ce8182e8ff0936bda8a0714acd /test/librestage-test.sh | |
parent | 2a10922b475d5a78e9bdaf8a52768c767404bea0 (diff) |
test/: Tidy before()/after() definitions.
Diffstat (limited to 'test/librestage-test.sh')
-rw-r--r-- | test/librestage-test.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/librestage-test.sh b/test/librestage-test.sh index affad6a..9ecbf38 100644 --- a/test/librestage-test.sh +++ b/test/librestage-test.sh @@ -1,12 +1,9 @@ #!/usr/bin/env roundup describe librestage - . ./test-common.sh -before() { - _before - +common_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 @@ -20,10 +17,6 @@ before() { mkdir -p "$tmpdir/workdir/pkgdest" } -after() { - _after -} - it_displays_usage_text() { rm -rf "$XDG_CONFIG_HOME" LC_ALL=C librestage -h >$tmpdir/stdout 2>$tmpdir/stderr |