summaryrefslogtreecommitdiff
path: root/test/aur-test.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-11 16:33:05 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-12 11:26:41 -0400
commiteeba3ea0411078424d8f0d127d792618c2a929d3 (patch)
tree6d69d70e09c64eed4f95c461823e1af2fa1c99bd /test/aur-test.sh
parentbd2b16fbbe43e5d879ee85da7259bdd649e4394e (diff)
test: tidy up, make everything use test-common.sh
Diffstat (limited to 'test/aur-test.sh')
-rw-r--r--test/aur-test.sh9
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