From c2990d501379a4b8e7c84070c4453eae947578a9 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 25 Feb 2012 13:57:57 +0000 Subject: Clean up $DATADIR after each test Every test should start with an empty directory. --- tests/teardown | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 tests/teardown (limited to 'tests') diff --git a/tests/teardown b/tests/teardown new file mode 100755 index 0000000..d64c24e --- /dev/null +++ b/tests/teardown @@ -0,0 +1,3 @@ +#!/bin/sh + +find "$DATADIR" -mindepth 1 -delete -- cgit v1.2.1