summaryrefslogtreecommitdiff
path: root/test/lib-messages-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/lib-messages-test.sh
parentbd2b16fbbe43e5d879ee85da7259bdd649e4394e (diff)
test: tidy up, make everything use test-common.sh
Diffstat (limited to 'test/lib-messages-test.sh')
-rw-r--r--test/lib-messages-test.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/lib-messages-test.sh b/test/lib-messages-test.sh
index 22aad47..826556b 100644
--- a/test/lib-messages-test.sh
+++ b/test/lib-messages-test.sh
@@ -2,12 +2,14 @@
describe libremessages
+. ./test-common.sh
+
before() {
- tmpdir=$(mktemp -d --tmpdir test-libremessages.XXXXXXXXXXXX)
+ _before
}
after() {
- rm -rf -- "$tmpdir"
+ _after
}
it_can_be_included_twice() (