diff options
Diffstat (limited to 'test/aur-test.sh')
-rw-r--r-- | test/aur-test.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/aur-test.sh b/test/aur-test.sh index 1bdd2e4..1fbe659 100644 --- a/test/aur-test.sh +++ b/test/aur-test.sh @@ -2,13 +2,14 @@ describe aur +. ./test-common.sh + before() { - tmpdir=$(mktemp -d --tmpdir test-aur.XXXXXXXXXXXX) - stat=0 + _before } after() { - rm -rf -- "$tmpdir" + _after } it_displays_help() { @@ -26,4 +27,4 @@ it_fails_with_0_args() { [[ -n "$(cat $tmpdir/stderr)" ]] } -# TODO: I don't have any other tests we can run without networking. +# TODO: Actually test |