diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-02-25 13:57:57 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-02-25 13:57:57 +0000 |
commit | c2990d501379a4b8e7c84070c4453eae947578a9 (patch) | |
tree | e8f991e8fb83113b7f567c7207ddfb7517efa2e8 | |
parent | 1d86735f41c8b6515555e9e85522bc8f5ceecf05 (diff) | |
download | summain-c2990d501379a4b8e7c84070c4453eae947578a9.tar.gz |
Clean up $DATADIR after each test
Every test should start with an empty directory.
-rwxr-xr-x | tests/teardown | 3 |
1 files changed, 3 insertions, 0 deletions
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 |