From eeba3ea0411078424d8f0d127d792618c2a929d3 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 11 Sep 2013 16:33:05 -0400 Subject: test: tidy up, make everything use test-common.sh --- test/librelib-test.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/librelib-test.sh') diff --git a/test/librelib-test.sh b/test/librelib-test.sh index 8cc2a65..e86dffe 100644 --- a/test/librelib-test.sh +++ b/test/librelib-test.sh @@ -2,15 +2,16 @@ describe librelib +. ./test-common.sh + before() { - tmpdir=$(mktemp -d --tmpdir test-librelib.XXXXXXXXXXXX) + _before } after() { - rm -rf -- "$tmpdir" + _after } - it_displays_help_and_fails_with_0_args() { ret=0 librelib >$tmpdir/stdout 2>$tmpdir/stderr || ret=$? -- cgit v1.2.3-2-g168b