diff options
Diffstat (limited to 'test/librestage-test.sh')
-rw-r--r-- | test/librestage-test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/librestage-test.sh b/test/librestage-test.sh index c5097a2..849a68c 100644 --- a/test/librestage-test.sh +++ b/test/librestage-test.sh @@ -2,10 +2,10 @@ describe librestage +. ./test-common.sh before() { - tmpdir=$(mktemp -d --tmpdir test-librestage.XXXXXXXXXXXX) - stat=0 + _before mkdir -p $XDG_CONFIG_HOME/libretools echo "WORKDIR='$tmpdir/workdir'" >$XDG_CONFIG_HOME/libretools/libretools.conf @@ -18,7 +18,7 @@ before() { } after() { - rm -rf -- "$tmpdir" "$XDG_CONFIG_HOME" + _after } it_displays_usage_text() { |