diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-11 16:33:05 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-12 11:26:41 -0400 |
commit | eeba3ea0411078424d8f0d127d792618c2a929d3 (patch) | |
tree | 6d69d70e09c64eed4f95c461823e1af2fa1c99bd /test/aur-test.sh | |
parent | bd2b16fbbe43e5d879ee85da7259bdd649e4394e (diff) |
test: tidy up, make everything use test-common.sh
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 |