From: Oleg Broytman Date: Wed, 12 Feb 2014 18:36:02 +0000 (+0400) Subject: Remove tmp after successful test run X-Git-Tag: v2.3.5~14 X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=commitdiff_plain;h=f5aab10ee4a70450634a766108389095298f45f8 Remove tmp after successful test run Directory tmp must be empty at that time. --- diff --git a/test/test_all b/test/test_all index a30174b..19b8323 100755 --- a/test/test_all +++ b/test/test_all @@ -20,4 +20,8 @@ for f in input/*.txt; do fi done +if [ "$RC" -eq 0 ]; then + rmdir tmp +fi + exit $RC